@microsoft/fast-foundation > DesignSystemRegistrationContext > tryDefineElement
DesignSystemRegistrationContext.tryDefineElement() method
Used to attempt to define a custom element.
Signature:tryDefineElement(params: ElementDefinitionParams): void;
Parameters
Parameter | Type | Description |
---|---|---|
params | ElementDefinitionParams | The custom element definition. |
void