CustomEvent

JS
1.1
open class CustomEvent : Event

Exposes the JavaScript CustomEvent to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript CustomEvent to Kotlin

CustomEvent(
    type: String,
    eventInitDict: CustomEventInit = definedExternally)

Properties

JS
1.1

detail

open val detail: Any?

Functions

JS
1.1

initCustomEvent

fun initCustomEvent(
    type: String,
    bubbles: Boolean,
    cancelable: Boolean,
    detail: Any?)

Companion Object Properties

JS
1.1

AT_TARGET

val AT_TARGET: Short
JS
1.1

BUBBLING_PHASE

val BUBBLING_PHASE: Short
JS
1.1

CAPTURING_PHASE

val CAPTURING_PHASE: Short
JS
1.1

NONE

val NONE: Short