Minor updates to focus note

This commit is contained in:
Kevin Sawicki 2017-06-05 10:03:25 -07:00 committed by GitHub
parent 2df7680d24
commit afa2dd5ce5

View file

@ -1135,7 +1135,8 @@ Disable device emulation enabled by `webContents.enableDeviceEmulation`.
`numLock`, `left`, `right`.
Sends an input `event` to the page.
'Browser Window' needs to be focused for `sendInputEvent()` to work.
**Note:** The `BrowserWindow` containing the contents needs to be focused for
`sendInputEvent()` to work.
For keyboard events, the `event` object also have following properties: