MouseEvent
Constructors
<init>
Exposes the JavaScript MouseEvent to Kotlin
MouseEvent(
type: String,
eventInitDict: MouseEventInit = definedExternally)
Properties
altKey
open val altKey: Boolean
button
open val button: Short
buttons
open val buttons: Short
clientX
open val clientX: Int
clientY
open val clientY: Int
ctrlKey
open val ctrlKey: Boolean
metaKey
open val metaKey: Boolean
offsetX
open val offsetX: Double
offsetY
open val offsetY: Double
pageX
open val pageX: Double
pageY
open val pageY: Double
region
open val region: String?
relatedTarget
open val relatedTarget: EventTarget?
screenX
open val screenX: Int
screenY
open val screenY: Int
shiftKey
open val shiftKey: Boolean
x
open val x: Double
y
open val y: Double
Functions
getModifierState
fun getModifierState(keyArg: String): Boolean
Companion Object Properties
AT_TARGET
val AT_TARGET: Short
BUBBLING_PHASE
val BUBBLING_PHASE: Short
CAPTURING_PHASE
val CAPTURING_PHASE: Short
NONE
val NONE: Short
Inheritors
DragEvent
Exposes the JavaScript DragEvent to Kotlin
open class DragEvent : MouseEvent
PointerEvent
Exposes the JavaScript PointerEvent to Kotlin
open class PointerEvent : MouseEvent
WheelEvent
Exposes the JavaScript WheelEvent to Kotlin
open class WheelEvent : MouseEvent