Skip to main content
Version: 1.x

@microsoft/fast-components > fastAnchor

fastAnchor variable

A function that returns a Anchor registration for configuring the component with a DesignSystem. Implements anchorTemplate

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

Remarks

Generates HTML Element: <fast-anchor>

delegatesFocus