зеркало из https://github.com/electron/electron.git
Switch to footer link syntax
This commit is contained in:
Родитель
75e81f00e2
Коммит
315daf1a10
|
@ -239,12 +239,12 @@ Returns:
|
|||
* `event` Event
|
||||
* `input` Object - Input properties
|
||||
* `type` String - Either `keyUp` or `keyDown`
|
||||
* `key` String - Equivalent to [KeyboardEvent.key](keyboardevent)
|
||||
* `isAutoRepeat` Boolean - Equivalent to [KeyboardEvent.repeat](keyboardevent)
|
||||
* `shift` Boolean - Equivalent to [KeyboardEvent.shiftKey](keyboardevent)
|
||||
* `control` Boolean - Equivalent to [KeyboardEvent.controlKey](keyboardevent)
|
||||
* `alt` Boolean - Equivalent to [KeyboardEvent.altKey](keyboardevent)
|
||||
* `meta` Boolean - Equivalent to [KeyboardEvent.metaKey](keyboardevent)
|
||||
* `key` String - Equivalent to [KeyboardEvent.key][keyboardevent]
|
||||
* `isAutoRepeat` Boolean - Equivalent to [KeyboardEvent.repeat][keyboardevent]
|
||||
* `shift` Boolean - Equivalent to [KeyboardEvent.shiftKey][keyboardevent]
|
||||
* `control` Boolean - Equivalent to [KeyboardEvent.controlKey][keyboardevent]
|
||||
* `alt` Boolean - Equivalent to [KeyboardEvent.altKey][keyboardevent]
|
||||
* `meta` Boolean - Equivalent to [KeyboardEvent.metaKey][keyboardevent]
|
||||
|
||||
Emitted before dispatching the `keydown` and `keyup` events in the page.
|
||||
Calling `event.preventDefault` will prevent the page `keydown`/`keyup` events
|
||||
|
|
Загрузка…
Ссылка в новой задаче