Docs: Add requirement for webContents.sendInputEvent() to work.

This commit is contained in:
Rajat 2017-06-03 23:47:15 +05:30
parent a1da54047a
commit 2df7680d24

View file

@ -1135,7 +1135,7 @@ 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.
'Browser Window' needs to be focused for `sendInputEvent()` to work.
For keyboard events, the `event` object also have following properties: