
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
6 lines
255 B
Markdown
6 lines
255 B
Markdown
# InputEvent Object
|
|
|
|
* `modifiers` String[] - An array of modifiers of the event, can
|
|
be `shift`, `control`, `alt`, `meta`, `isKeypad`, `isAutoRepeat`,
|
|
`leftButtonDown`, `middleButtonDown`, `rightButtonDown`, `capsLock`,
|
|
`numLock`, `left`, `right`.
|