Doc Update: New path for web-contents.md
This commit is contained in:
parent
5f4b62b6c8
commit
e9121936e8
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ window.addEventListener('keyup', doSomething, true)
|
||||||
|
|
||||||
Note the third parameter `true` which means the listener will always receive key presses before other listeners so they can't have `stopPropagation()` called on them.
|
Note the third parameter `true` which means the listener will always receive key presses before other listeners so they can't have `stopPropagation()` called on them.
|
||||||
|
|
||||||
The [`before-input-event`](web-contents.md#event-before-input-event) event
|
The [`before-input-event`](../api/web-contents.md#event-before-input-event) event
|
||||||
is emitted before dispatching `keydown` and `keyup` events in the page. It can
|
is emitted before dispatching `keydown` and `keyup` events in the page. It can
|
||||||
be used to catch and handle custom shortcuts that are not visible in the menu.
|
be used to catch and handle custom shortcuts that are not visible in the menu.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue