Skip to content

pantoken / renderers/web-components/src / ElementDefinition

Interfejs: ElementDefinition

Alpha

Jeden zarejestrowany element niestandardowy: jego podstawowa nazwa taga oraz define, który rejestruje go za pomocą kontekstu.

Właściwości

name

readonly name: string

Alpha

The base tag name, e.g. button (minted to <instui-button>/<x-button> by the active prefix).

Metody

define()

define(ctx): void

Alpha

Zarejestruj element w ctx.registry, używając wyłącznie wspólnych pomocników uwzględniających prefiks.

Parametry

ctx

RegisterContext

Zwraca

void