MouseEvent

JS
1.1
open class MouseEvent : UIEvent, UnionElementOrMouseEvent

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

Functions

JS
1.1

getModifierState

fun getModifierState(keyArg: String): Boolean

Inheritors

JS
1.1

DragEvent

Exposes the JavaScript DragEvent to Kotlin

open class DragEvent : MouseEvent
JS
1.1

WheelEvent

Exposes the JavaScript WheelEvent to Kotlin

open class WheelEvent : MouseEvent