@microsoft/fast-components > fastDisclosure
fastDisclosure variable
A function that returns a Disclosure registration for configuring the component with a DesignSystem. Implements disclosureTemplate
Signature:fastDisclosure: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
baseName: string;
baseClass: typeof FoundationDisclosure;
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<FoundationDisclosure, any>, import("@microsoft/fast-foundation").FoundationElementDefinition>;
styles: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ElementStyles, import("@microsoft/fast-foundation").FoundationElementDefinition>;
}> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
baseName: string;
baseClass: typeof FoundationDisclosure;
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<FoundationDisclosure, any>, import("@microsoft/fast-foundation").FoundationElementDefinition>;
styles: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ElementStyles, import("@microsoft/fast-foundation").FoundationElementDefinition>;
}, typeof Disclosure>
Remarks
Generates HTML Element: <fast-Disclosure>