mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
docs: Tray balloon
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user