CustomElementRegistry

JS
1.1
abstract class CustomElementRegistry

Exposes the JavaScript CustomElementRegistry to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript CustomElementRegistry to Kotlin

CustomElementRegistry()

Functions

JS
1.1

define

fun define(
    name: String,
    constructor: () -> dynamic,
    options: ElementDefinitionOptions = definedExternally)
JS
1.1

get

fun get(name: String): Any?
JS
1.1

whenDefined

fun whenDefined(name: String): Promise<Unit>