Skip to main content
Version: 1.x

@microsoft/fast-components > fastMenuItem

fastMenuItem variable

A function that returns a MenuItem registration for configuring the component with a DesignSystem. Implements menuItemTemplate

Signature:
fastMenuItem: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<MenuItemOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<MenuItemOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>

Remarks

Generates HTML Element: <fast-menu-item>