@microsoft/fast-element > PartialFASTElementDefinition > schema
PartialFASTElementDefinition.schema property
The optional schema associated with the custom element definition. Declarative templates assign this automatically during template resolution. Non-declarative callers can provide one for schema-driven extensions.
Signature:
readonly schema?: Schema;