Skip to main content
Version: 1.x

@microsoft/fast-components > fastSearch

fastSearch variable

A function that returns a Search registration for configuring the component with a DesignSystem. Implements searchTemplate

Signature:
fastSearch: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
baseName: string;
baseClass: typeof FoundationSearch;
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<FoundationSearch, any>, import("@microsoft/fast-foundation").SearchOptions>;
styles: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ElementStyles, import("@microsoft/fast-foundation").TextFieldOptions>;
shadowOptions: {
delegatesFocus: true;
};
}> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
baseName: string;
baseClass: typeof FoundationSearch;
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<FoundationSearch, any>, import("@microsoft/fast-foundation").SearchOptions>;
styles: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ElementStyles, import("@microsoft/fast-foundation").TextFieldOptions>;
shadowOptions: {
delegatesFocus: true;
};
}, typeof Search>

Remarks

Generates HTML Element: <fast-search>

delegatesFocus