Skip to main content

@microsoft/fast-foundation > DesignSystemRegistrationContext

DesignSystemRegistrationContext interface

Design system contextual APIs and configuration usable within component registries.

Signature:
export interface DesignSystemRegistrationContext 

Properties

PropertyTypeDescription
elementPrefixstringThe element prefix specified by the design system's configuration.

Methods

MethodDescription
tryDefineElement(name, type, callback)Used to attempt to define a custom element.
tryDefineElement(params)Used to attempt to define a custom element.