UIEvent

open external class UIEvent : Event (source)

Platform and version requirements: JS

Exposes the JavaScript UIEvent to Kotlin

Constructors

<init>

UIEvent(
    type: String,
    eventInitDict: UIEventInit = definedExternally)

Exposes the JavaScript UIEvent to Kotlin

Properties

detail

open val detail: Int

view

open val view: Window?

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

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

CompositionEvent

open external class CompositionEvent : UIEvent

Exposes the JavaScript CompositionEvent to Kotlin

FocusEvent

open external class FocusEvent : UIEvent

Exposes the JavaScript FocusEvent to Kotlin

InputEvent

open external class InputEvent : UIEvent

Exposes the JavaScript InputEvent to Kotlin

KeyboardEvent

open external class KeyboardEvent : UIEvent

Exposes the JavaScript KeyboardEvent to Kotlin

MouseEvent

open external class MouseEvent : 
    UIEvent,
    UnionElementOrMouseEvent

Exposes the JavaScript MouseEvent to Kotlin