]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: "balloon-show" and "balloon-closed" events
authorCheng Zhao <zcbenz@gmail.com>
Fri, 28 Nov 2014 11:47:21 +0000 (19:47 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 28 Nov 2014 11:47:21 +0000 (19:47 +0800)
docs/api/tray.md

index b760add309a5eb86a0867b46181a02d1c5b79937..668776897cf00fd47bc3465014f378a7c2bba88e 100644 (file)
@@ -52,13 +52,26 @@ Emitted when the tray icon is clicked.
 
 Emitted when the tray icon is double clicked.
 
-This is only implemented on OS X.
+__Note:__ This is only implemented on OS X.
+
+### Event: 'balloon-show'
+
+Emitted when the tray balloon shows.
+
+__Note:__ This is only implemented on Windows.
 
 ### Event: 'balloon-clicked'
 
 Emitted when the tray balloon is clicked.
 
-This is only implemented on Windows.
+__Note:__ This is only implemented on Windows.
+
+### Event: 'balloon-closed'
+
+Emitted when the tray balloon is closed because of timeout or user manually
+closes it.
+
+__Note:__ This is only implemented on Windows.
 
 ### Tray.destroy()