Skip to main content
Version: 1.x

@microsoft/fast-components > fastSwitch

fastSwitch variable

A function that returns a Switch registration for configuring the component with a DesignSystem. Implements switchTemplate

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

Remarks

Generates HTML Element: <fast-switch>