Skip to main content
Version: 1.x

@microsoft/fast-components > fastToolbar

fastToolbar variable

A function that returns a Toolbar registration for configuring the component with a DesignSystem. Implements toolbarTemplate

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

Remarks

Generates HTML Element: <fast-toolbar>