MouseEvent

data class MouseEvent(type: String, detail: Long, altKey: Boolean, button: Int, buttons: Int, clientX: Int, clientY: Int, ctrlKey: Boolean, metaKey: Boolean, movementX: Int?, movementY: Int?, region: String?, screenX: Int, screenY: Int, shiftKey: Boolean, x: Int, y: Int, retrieved: JsonElement)

Corresponds to a JavaScript event object.

Constructors

MouseEvent
Link copied to clipboard
fun MouseEvent(type: String, detail: Long, altKey: Boolean, button: Int, buttons: Int, clientX: Int, clientY: Int, ctrlKey: Boolean, metaKey: Boolean, movementX: Int? = null, movementY: Int? = null, region: String? = null, screenX: Int, screenY: Int, shiftKey: Boolean, x: Int = clientX, y: Int = clientY, retrieved: JsonElement = JsonNull)

Properties

altKey
Link copied to clipboard
val altKey: Boolean
button
Link copied to clipboard
val button: Int
buttons
Link copied to clipboard
val buttons: Int
clientX
Link copied to clipboard
val clientX: Int
clientY
Link copied to clipboard
val clientY: Int
ctrlKey
Link copied to clipboard
val ctrlKey: Boolean
detail
Link copied to clipboard
val detail: Long
metaKey
Link copied to clipboard
val metaKey: Boolean
movementX
Link copied to clipboard
val movementX: Int? = null
movementY
Link copied to clipboard
val movementY: Int? = null
region
Link copied to clipboard
val region: String? = null
retrieved
Link copied to clipboard
val retrieved: JsonElement
screenX
Link copied to clipboard
val screenX: Int
screenY
Link copied to clipboard
val screenY: Int
shiftKey
Link copied to clipboard
val shiftKey: Boolean
type
Link copied to clipboard
val type: String
x
Link copied to clipboard
val x: Int
y
Link copied to clipboard
val y: Int