This commit is contained in:
Kevin Sawicki 2017-01-12 16:54:07 -08:00
Родитель 75e81f00e2
Коммит 315daf1a10
1 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -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