define
inline fun <T : HTMLElement> CustomElementRegistry.define(name: TagName<T>, reference: CustomElementReference<T>)(source)
The define()
method of the CustomElementRegistry interface adds a definition for a custom element to the custom element registry, mapping its name to the constructor which will be used to create it.