Component definition.

A custom element class will be created for each registered component in accordance to this definition.

Type Parameters

  • T extends object = any

    A type of component.

Hierarchy

  • ComponentDef

Properties

Methods

Properties

extend?: Extend

Existing element to extend by custom one.

feature?: FeatureDef

Additional feature definition options.

name?: QualifiedName

Custom element name.

The name may belong to some namespace to avoid naming conflicts. I.e. it can be either a string, or name/namespace tuple.

When omitted an anonymous component will be registered. Such component is not bound to custom element, but it still can be mounted.

Methods

Generated using TypeDoc