ExtendableEvent

open external class ExtendableEvent : Event (source)

Platform and version requirements: JS

Exposes the JavaScript ExtendableEvent to Kotlin

Constructors

<init>

ExtendableEvent(
    type: String,
    eventInitDict: ExtendableEventInit = definedExternally)

Exposes the JavaScript ExtendableEvent to Kotlin

Inherited Properties

bubbles

open val bubbles: Boolean

cancelable

open val cancelable: Boolean

composed

open val composed: Boolean

currentTarget

open val currentTarget: EventTarget?

defaultPrevented

open val defaultPrevented: Boolean

eventPhase

open val eventPhase: Short

isTrusted

open val isTrusted: Boolean

target

open val target: EventTarget?

timeStamp

open val timeStamp: Number

type

open val type: String

Functions

waitUntil

fun waitUntil(f: Promise<Any?>)

Inherited Functions

composedPath

fun composedPath(): Array<EventTarget>

initEvent

fun initEvent(
    type: String,
    bubbles: Boolean,
    cancelable: Boolean)

preventDefault

fun preventDefault()

stopImmediatePropagation

fun stopImmediatePropagation()

stopPropagation

fun stopPropagation()

Inheritors

ExtendableMessageEvent

open external class ExtendableMessageEvent : ExtendableEvent

Exposes the JavaScript ExtendableMessageEvent to Kotlin

FetchEvent

open external class FetchEvent : ExtendableEvent

Exposes the JavaScript FetchEvent to Kotlin

ForeignFetchEvent

open external class ForeignFetchEvent : ExtendableEvent

FunctionalEvent

open external class FunctionalEvent : ExtendableEvent

InstallEvent

open external class InstallEvent : ExtendableEvent

Exposes the JavaScript InstallEvent to Kotlin

NotificationEvent

open external class NotificationEvent : ExtendableEvent

Exposes the JavaScript NotificationEvent to Kotlin