@microsoft/fast-element > FASTElementDefinition > (constructor)
FASTElementDefinition.(constructor)
Creates an instance of FASTElementDefinition.
Signature:constructor(type: TType, nameOrConfig?: PartialFASTElementDefinition | string);
Parameters
Parameter | Type | Description |
---|---|---|
type | TType | The type this definition is being created for. |
nameOrConfig | PartialFASTElementDefinition | string | The name of the element to define or a config object that describes the element to define. |