Skip to content

CustomElementRegistry

Values

define

let define: (
WebAPI.DOMAPI.customElementRegistry,
~name: string,
~constructor: WebAPI.DOMAPI.customElementConstructor,
~options: WebAPI.DOMAPI.elementDefinitionOptions=?,
) => unit

getName

let getName: (
WebAPI.DOMAPI.customElementRegistry,
WebAPI.DOMAPI.customElementConstructor,
) => string

upgrade

let upgrade: (
WebAPI.DOMAPI.customElementRegistry,
WebAPI.DOMAPI.node,
) => unit

whenDefined

let whenDefined: (
WebAPI.DOMAPI.customElementRegistry,
string,
) => Promise.t<WebAPI.DOMAPI.customElementConstructor>