]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: <webview>.sendInputEvent
authorCheng Zhao <zcbenz@gmail.com>
Fri, 18 Sep 2015 10:32:21 +0000 (18:32 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 18 Sep 2015 10:32:21 +0000 (18:32 +0800)
docs/api/web-view-tag.md

index 4647413b5a433f60dbd33906c0bcf39650ecb483..8eb3857ac97092f8f408bc2872797dfbde7ced25 100644 (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: