@microsoft/fast-element > PartialFASTElementDefinition
PartialFASTElementDefinition interface
Represents metadata configuration for a custom element.
Signature:export interface PartialFASTElementDefinition
Properties
Property | Type | Description |
---|---|---|
attributes | (AttributeConfiguration | string)[] | The custom attributes of the custom element. |
elementOptions | ElementDefinitionOptions | Options controlling how the custom element is defined with the platform. |
name | string | The name of the custom element. |
shadowOptions | Partial<ShadowRootInit> | null | Options controlling the creation of the custom element's shadow DOM. |
styles | ComposableStyles | ComposableStyles[] | The styles to associate with the custom element. |
template | ElementViewTemplate | The template to render for the custom element. |