Skip to content

pantoken / renderers/web-components/src / ElementRegistry

Interface: ElementRegistry

Alpha

A minimal structural type for a custom-element registry (the DOM's customElements).

Methods

get()

get(name): unknown

Alpha

Parameters

name

string

Returns

unknown


define()

define(name, ctor): void

Alpha

Parameters

name

string

ctor

CustomElementConstructor

Returns

void