]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: Tray balloon
authorCheng Zhao <zcbenz@gmail.com>
Fri, 28 Nov 2014 11:23:13 +0000 (19:23 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 28 Nov 2014 11:23:13 +0000 (19:23 +0800)
docs/api/tray.md

index 5175a16823e3c8b13d071f42f0a26e6a067834a4..b760add309a5eb86a0867b46181a02d1c5b79937 100644 (file)
@@ -52,7 +52,13 @@ Emitted when the tray icon is clicked.
 
 Emitted when the tray icon is double clicked.
 
-This is only implmented on OS X.
+This is only implemented on OS X.
+
+### Event: 'balloon-clicked'
+
+Emitted when the tray balloon is clicked.
+
+This is only implemented on Windows.
 
 ### Tray.destroy()
 
@@ -92,6 +98,13 @@ Sets whether the tray icon is highlighted when it is clicked.
 
 This is only implmented on OS X.
 
+### Tray.displayBalloon(options)
+
+* `options` Object
+  * `icon` [Image](image.md)
+  * `title` String
+  * `content` String
+
 ### Tray.setContextMenu(menu)
 
 * `menu` Menu