docs: Tray balloon

This commit is contained in:
Cheng Zhao 2014-11-28 19:23:13 +08:00
parent a3327ac53e
commit ee3fa67c48

View 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