CustomElementRegistry
Exposes the JavaScript CustomElementRegistry to Kotlin
Since Kotlin
1.1Exposes the JavaScript CustomElementRegistry to Kotlin
Since Kotlin
1.8Functions
Link copied to clipboard
fun define(name: String, constructor: () -> dynamic, options: ElementDefinitionOptions = definedExternally)
Since Kotlin 1.1
fun define(name: String, constructor: () -> JsAny?, options: ElementDefinitionOptions = definedExternally)
Since Kotlin 1.8
Link copied to clipboard
For a Dynamic value caught in JS, returns the corresponding Throwable if it was thrown from Kotlin, or null otherwise.
Since Kotlin 1.8
Link copied to clipboard
Cast JsAny to other Js type without runtime check
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8