]> khamidou — GitHub mirrors - electron.git/commitdiff
Added documentation about the changes
authorHeilig Benedek <benecene@gmail.com>
Mon, 28 Sep 2015 00:52:16 +0000 (02:52 +0200)
committerHeilig Benedek <benecene@gmail.com>
Mon, 28 Sep 2015 00:52:16 +0000 (02:52 +0200)
docs/api/web-contents.md

index c2dccc3a876c433c4172b1b71088f6aa368f7720..b2e924e5d083d4ca9e647bd2f3d03b837675709f 100644 (file)
@@ -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