docs: Tray balloon
This commit is contained in:
parent
a3327ac53e
commit
ee3fa67c48
1 changed files with 14 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue