MouseInputEvent Object extends InputEvent
-
type
String - The type of the event, can bemouseDown
,mouseUp
,mouseEnter
,mouseLeave
,contextMenu
,mouseWheel
ormouseMove
. -
x
Integer -
y
Integer -
button
String (optional) - The button pressed, can beleft
,middle
,right
. -
globalX
Integer (optional) -
globalY
Integer (optional) -
movementX
Integer (optional) -
movementY
Integer (optional) -
clickCount
Integer (optional)
© GitHub Inc.
Licensed under the MIT license.
https://www.electronjs.org/docs/latest/api/structures/mouse-input-event