MouseEvent

JS
1.1
open class MouseEvent : UIEvent, UnionElementOrMouseEvent
(source)

Exposes the JavaScript MouseEvent to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript MouseEvent to Kotlin

MouseEvent(
    type: String,
    eventInitDict: MouseEventInit = definedExternally)

Properties

JS
1.1

altKey

open val altKey: Boolean
JS
1.1

button

open val button: Short
JS
1.1

buttons

open val buttons: Short
JS
1.1

clientX

open val clientX: Int
JS
1.1

clientY

open val clientY: Int
JS
1.1

ctrlKey

open val ctrlKey: Boolean
JS
1.1

metaKey

open val metaKey: Boolean
JS
1.1

offsetX

open val offsetX: Double
JS
1.1

offsetY

open val offsetY: Double
JS
1.1

pageX

open val pageX: Double
JS
1.1

pageY

open val pageY: Double
JS
1.1

region

open val region: String?
JS
1.1

relatedTarget

open val relatedTarget: EventTarget?
JS
1.1

screenX

open val screenX: Int
JS
1.1

screenY

open val screenY: Int
JS
1.1

shiftKey

open val shiftKey: Boolean
JS
1.1

x

open val x: Double
JS
1.1

y

open val y: Double

Functions

JS
1.1

getModifierState

fun getModifierState(keyArg: String): Boolean

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

DragEvent

Exposes the JavaScript DragEvent to Kotlin

open class DragEvent : MouseEvent
JS
1.1

PointerEvent

Exposes the JavaScript PointerEvent to Kotlin

open class PointerEvent : MouseEvent
JS
1.1

WheelEvent

Exposes the JavaScript WheelEvent to Kotlin

open class WheelEvent : MouseEvent