From: Heilig Benedek Date: Mon, 28 Sep 2015 00:52:16 +0000 (+0200) Subject: Added documentation about the changes X-Git-Tag: v0.33.4~17^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=21cd4c14316b3a25053d1b45e8754f668a016774;p=electron.git Added documentation about the changes --- diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index c2dccc3a..b2e924e5 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -534,13 +534,13 @@ Sends an input `event` to the page. For keyboard events, the `event` object also have following properties: * `keyCode` String (**required**) - A single character that will be sent as - keyboard event. Can be any ASCII character on the keyboard, like `a`, `1` - and `=`. + keyboard event. Can be any UTF-8 character. For mouse events, the `event` object also have following properties: * `x` Integer (**required**) * `y` Integer (**required**) +* `button` String - The button pressed, can be `left`, `middle`, `right` * `globalX` Integer * `globalY` Integer * `movementX` Integer