Merge pull request #8400 from electron/keyboardevent-link
Switch to footer link syntax for keyboard event docs
This commit is contained in:
commit
f7d3dc742d
1 changed files with 6 additions and 6 deletions
|
@ -239,12 +239,12 @@ Returns:
|
||||||
* `event` Event
|
* `event` Event
|
||||||
* `input` Object - Input properties
|
* `input` Object - Input properties
|
||||||
* `type` String - Either `keyUp` or `keyDown`
|
* `type` String - Either `keyUp` or `keyDown`
|
||||||
* `key` String - Equivalent to [KeyboardEvent.key](keyboardevent)
|
* `key` String - Equivalent to [KeyboardEvent.key][keyboardevent]
|
||||||
* `isAutoRepeat` Boolean - Equivalent to [KeyboardEvent.repeat](keyboardevent)
|
* `isAutoRepeat` Boolean - Equivalent to [KeyboardEvent.repeat][keyboardevent]
|
||||||
* `shift` Boolean - Equivalent to [KeyboardEvent.shiftKey](keyboardevent)
|
* `shift` Boolean - Equivalent to [KeyboardEvent.shiftKey][keyboardevent]
|
||||||
* `control` Boolean - Equivalent to [KeyboardEvent.controlKey](keyboardevent)
|
* `control` Boolean - Equivalent to [KeyboardEvent.controlKey][keyboardevent]
|
||||||
* `alt` Boolean - Equivalent to [KeyboardEvent.altKey](keyboardevent)
|
* `alt` Boolean - Equivalent to [KeyboardEvent.altKey][keyboardevent]
|
||||||
* `meta` Boolean - Equivalent to [KeyboardEvent.metaKey](keyboardevent)
|
* `meta` Boolean - Equivalent to [KeyboardEvent.metaKey][keyboardevent]
|
||||||
|
|
||||||
Emitted before dispatching the `keydown` and `keyup` events in the page.
|
Emitted before dispatching the `keydown` and `keyup` events in the page.
|
||||||
Calling `event.preventDefault` will prevent the page `keydown`/`keyup` events
|
Calling `event.preventDefault` will prevent the page `keydown`/`keyup` events
|
||||||
|
|
Loading…
Reference in a new issue