12bbbef688
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
11 lines
415 B
Markdown
11 lines
415 B
Markdown
# MouseWheelInputEvent Object extends `MouseInputEvent`
|
|
|
|
* `type` String - The type of the event, can be `mouseWheel`.
|
|
* `deltaX` Integer (optional)
|
|
* `deltaY` Integer (optional)
|
|
* `wheelTicksX` Integer (optional)
|
|
* `wheelTicksY` Integer (optional)
|
|
* `accelerationRatioX` Integer (optional)
|
|
* `accelerationRatioY` Integer (optional)
|
|
* `hasPreciseScrollingDeltas` Boolean (optional)
|
|
* `canScroll` Boolean (optional)
|