From: Cheng Zhao Date: Fri, 28 Nov 2014 11:23:13 +0000 (+0800) Subject: docs: Tray balloon X-Git-Tag: v0.19.5~1^2~3 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=ee3fa67c489325038f033be94a3a5e941f4a70b4;p=electron.git docs: Tray balloon --- diff --git a/docs/api/tray.md b/docs/api/tray.md index 5175a168..b760add3 100644 --- a/docs/api/tray.md +++ b/docs/api/tray.md @@ -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