]> khamidou — GitHub mirrors - electron.git/commitdiff
Update tray double-click docs
authorNishanth Shanmugham <nishanth.gerrard@gmail.com>
Sun, 26 Jul 2015 04:16:15 +0000 (21:16 -0700)
committerNishanth Shanmugham <nishanth.gerrard@gmail.com>
Sun, 26 Jul 2015 04:16:15 +0000 (21:16 -0700)
* Mention bounds payload

docs/api/tray.md

index 847b0b2cf8185f84f428d74864166ee8ee33f272..9332822a32a8138db5dba8536ba02e4044ffe817 100644 (file)
@@ -76,6 +76,13 @@ will be emitted if the tray icon has context menu.
 
 Emitted when the tray icon is double clicked.
 
+* `event`
+* `bounds` Object - the bounds of tray icon
+  * `x` Integer
+  * `y` Integer
+  * `width` Integer
+  * `height` Integer
+  
 __Note:__ This is only implemented on OS X.
 
 ### Event: 'balloon-show'