diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 4b74dfd0c9d5..da9ec71f02d2 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -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