mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Added documentation about the changes
This commit is contained in:
@@ -534,13 +534,13 @@ Sends an input `event` to the page.
|
||||
For keyboard events, the `event` object also have following properties:
|
||||
|
||||
* `keyCode` String (**required**) - A single character that will be sent as
|
||||
keyboard event. Can be any ASCII character on the keyboard, like `a`, `1`
|
||||
and `=`.
|
||||
keyboard event. Can be any UTF-8 character.
|
||||
|
||||
For mouse events, the `event` object also have following properties:
|
||||
|
||||
* `x` Integer (**required**)
|
||||
* `y` Integer (**required**)
|
||||
* `button` String - The button pressed, can be `left`, `middle`, `right`
|
||||
* `globalX` Integer
|
||||
* `globalY` Integer
|
||||
* `movementX` Integer
|
||||
|
||||
Reference in New Issue
Block a user