Skip to main content

@microsoft/fast-element > FASTElementDefinition > define

FASTElementDefinition.define() method

Defines a custom element based on this definition.

Signature:
define(registry?: CustomElementRegistry): this;

Parameters

ParameterTypeDescription
registryCustomElementRegistryThe element registry to define the element in.
Returns:

this