The `event` type and keyword is reserved by the typescript generator, in the future we should throw an error from the generator if someone uses a reserved interface like that. This also splits and documents the InputEvent type way better so that TS users get strong type safety. Fixes electron/typescript-definitions#36
470 B
470 B
MouseInputEvent Object extends InputEvent
typeString - The type of the event, can bemouseDown,mouseUp,mouseEnter,mouseLeave,contextMenu,mouseWheelormouseMove.xIntegeryIntegerbuttonString (optional) - The button pressed, can beleft,middle,right.globalXInteger (optional)globalYInteger (optional)movementXInteger (optional)movementYInteger (optional)clickCountInteger (optional)