@microsoft/fast-element > PartialFASTElementDefinition
PartialFASTElementDefinition interface
Represents metadata configuration for a custom element.
Signature:
export interface PartialFASTElementDefinition
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
(AttributeConfiguration | string)[] |
(Optional) The custom attributes of the custom element. | |
|
|
ElementDefinitionOptions |
(Optional) Options controlling how the custom element is defined with the platform. | |
|
|
(Optional) Lifecycle callbacks for template events. | ||
|
|
string |
The name of the custom element. | |
|
|
CustomElementRegistry |
(Optional) The registry to register this component in by default. | |
|
|
Partial<ShadowRootOptions> | null |
(Optional) Options controlling the creation of the custom element's shadow DOM. | |
|
|
(Optional) The styles to associate with the custom element. | ||
|
|
(Optional) The template to render for the custom element. | ||
|
|
(ALPHA) (Optional) Options controlling how the template will be created. |