From ee3fa67c489325038f033be94a3a5e941f4a70b4 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 28 Nov 2014 19:23:13 +0800 Subject: [PATCH] docs: Tray balloon --- docs/api/tray.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/api/tray.md b/docs/api/tray.md index 5175a16823..b760add309 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