Event

JS
1.1
open class Event

Exposes the JavaScript Event to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript Event to Kotlin

Event(
    type: String,
    eventInitDict: EventInit = definedExternally)

Properties

JS
1.1

bubbles

open val bubbles: Boolean
JS
1.1

cancelable

open val cancelable: Boolean
JS
1.1

composed

open val composed: Boolean
JS
1.1

currentTarget

open val currentTarget: EventTarget?
JS
1.1

defaultPrevented

open val defaultPrevented: Boolean
JS
1.1

eventPhase

open val eventPhase: Short
JS
1.1

isTrusted

open val isTrusted: Boolean
JS
1.1

target

open val target: EventTarget?
JS
1.1

timeStamp

open val timeStamp: Number
JS
1.1

type

open val type: String

Functions

JS
1.1

composedPath

fun composedPath(): Array<EventTarget>
JS
1.1

initEvent

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

preventDefault

fun preventDefault()
JS
1.1

stopImmediatePropagation

fun stopImmediatePropagation()
JS
1.1

stopPropagation

fun stopPropagation()

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

Inheritors

JS
1.1

BeforeUnloadEvent

Exposes the JavaScript BeforeUnloadEvent to Kotlin

open class BeforeUnloadEvent : Event
JS
1.1

ClipboardEvent

Exposes the JavaScript ClipboardEvent to Kotlin

open class ClipboardEvent : Event
JS
1.1

CloseEvent

Exposes the JavaScript CloseEvent to Kotlin

open class CloseEvent : Event
JS
1.1

CustomEvent

Exposes the JavaScript CustomEvent to Kotlin

open class CustomEvent : Event
JS
1.1

ErrorEvent

Exposes the JavaScript ErrorEvent to Kotlin

open class ErrorEvent : Event
JS
1.1

ExtendableEvent

Exposes the JavaScript ExtendableEvent to Kotlin

open class ExtendableEvent : Event
JS
1.1

HashChangeEvent

Exposes the JavaScript HashChangeEvent to Kotlin

open class HashChangeEvent : Event
JS
1.1

MediaQueryListEvent

Exposes the JavaScript MediaQueryListEvent to Kotlin

open class MediaQueryListEvent : Event
JS
1.1

MediaStreamTrackEvent

Exposes the JavaScript MediaStreamTrackEvent to Kotlin

open class MediaStreamTrackEvent : Event
JS
1.1

MessageEvent

Exposes the JavaScript MessageEvent to Kotlin

open class MessageEvent : Event
JS
1.1

OverconstrainedErrorEvent

open class OverconstrainedErrorEvent : Event
JS
1.1

PageTransitionEvent

Exposes the JavaScript PageTransitionEvent to Kotlin

open class PageTransitionEvent : Event
JS
1.1

PopStateEvent

Exposes the JavaScript PopStateEvent to Kotlin

open class PopStateEvent : Event
JS
1.1

ProgressEvent

Exposes the JavaScript ProgressEvent to Kotlin

open class ProgressEvent : Event
JS
1.1

PromiseRejectionEvent

Exposes the JavaScript PromiseRejectionEvent to Kotlin

open class PromiseRejectionEvent : Event
JS
1.1

RelatedEvent

open class RelatedEvent : Event
JS
1.1

ServiceWorkerMessageEvent

Exposes the JavaScript ServiceWorkerMessageEvent to Kotlin

open class ServiceWorkerMessageEvent : Event
JS
1.1

StorageEvent

Exposes the JavaScript StorageEvent to Kotlin

open class StorageEvent : Event
JS
1.1

TrackEvent

Exposes the JavaScript TrackEvent to Kotlin

open class TrackEvent : Event
JS
1.1

UIEvent

Exposes the JavaScript UIEvent to Kotlin

open class UIEvent : Event
JS
1.1

WebGLContextEvent

Exposes the JavaScript WebGLContextEvent to Kotlin

open class WebGLContextEvent : Event