docs: Add missing key codes
This commit is contained in:
parent
2515425cd5
commit
b7a40f3097
2 changed files with 6 additions and 7 deletions
|
@ -764,13 +764,9 @@ Sends an input `event` to the page.
|
|||
|
||||
For keyboard events, the `event` object also have following properties:
|
||||
|
||||
* `keyCode` Char or String (**required**) - The character that will be sent
|
||||
as the keyboard event. Can be a single UTF-8 character, or the name of the
|
||||
key that generates the event. Accepted key names are `enter`, `backspace`,
|
||||
`delete`, `tab`, `escape`, `control`, `alt`, `altgr` (Windows only), `shift`,
|
||||
`end`, `home`, `insert`, `left`, `up`, `right`, `down`, `pageUp`, `pageDown`,
|
||||
`printScreen`, `meta`, `cmd` (OSX only), `command` (OSX only), `option`
|
||||
(OSX only)
|
||||
* `keyCode` String (**required**) - The character that will be sent
|
||||
as the keyboard event. Should only use the valid key codes in
|
||||
[Accelerator](accelerator.md).
|
||||
|
||||
For mouse events, the `event` object also have following properties:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue