Skip to main content
Version: 2.x

FASTElementDefinition.getByType property

@microsoft/fast-element > FASTElementDefinition > getByType

FASTElementDefinition.getByType property

Gets the element definition associated with the specified type.

Signature:

static readonly getByType: (key: Function) => FASTElementDefinition<Constructable<HTMLElement>> | undefined;