Skip to main content
Version: 1.x

@microsoft/fast-components > fastListbox

fastListbox variable

A function that returns a ListboxElement registration for configuring the component with a DesignSystem. Implements listboxTemplate

Signature:
fastListbox: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
baseName: string;
baseClass: typeof FoundationListboxElement;
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<FoundationListboxElement, any>, import("@microsoft/fast-foundation").FoundationElementDefinition>;
styles: import("@microsoft/fast-foundation").FoundationElementTemplate<ElementStyles, import("@microsoft/fast-foundation").FoundationElementDefinition>;
}> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
baseName: string;
baseClass: typeof FoundationListboxElement;
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<FoundationListboxElement, any>, import("@microsoft/fast-foundation").FoundationElementDefinition>;
styles: import("@microsoft/fast-foundation").FoundationElementTemplate<ElementStyles, import("@microsoft/fast-foundation").FoundationElementDefinition>;
}, typeof Listbox>

Remarks

Generates HTML Element: <fast-listbox>