@microsoft/fast-element > FASTElementDefinition > define

FASTElementDefinition.define() method

Defines a custom element based on this definition.

Signature:

define(registry?: CustomElementRegistry): this;

Parameters

Parameter

Type

Description

registry

CustomElementRegistry

(Optional) The element registry to define the element in.

Returns:

this

Remarks

This operation is idempotent per registry.