@microsoft/fast-foundation > DesignSystemRegistrationContext
DesignSystemRegistrationContext interface
Design system contextual APIs and configuration usable within component registries.
Signature:export interface DesignSystemRegistrationContext
Properties
Property | Type | Description |
---|---|---|
elementPrefix | string | The element prefix specified by the design system's configuration. |
Methods
Method | Description |
---|---|
tryDefineElement(name, type, callback) | Used to attempt to define a custom element. |
tryDefineElement(params) | Used to attempt to define a custom element. |