docs: <webview>.sendInputEvent

This commit is contained in:
Cheng Zhao 2015-09-18 18:32:21 +08:00
parent b8d50f3a3a
commit 32bff05208

View file

@ -358,6 +358,15 @@ page can handle it by listening to the `channel` event of `ipc` module.
See [WebContents.send](web-contents.md#webcontentssendchannel-args) for
examples.
### `<webview>.sendInputEvent(event)`
* `event` Object
Sends an input `event` to the page.
See [WebContents.sendInputEvent](web-contents.md##webcontentssendinputeventevent)
for detailed description of `event` object.
## DOM events
The following DOM events are available to the `webview` tag: