From ed179ecf03fcfb40daeacd1b35621989dc65322b Mon Sep 17 00:00:00 2001 From: Nishanth Shanmugham Date: Tue, 10 Nov 2015 10:14:55 -0600 Subject: [PATCH] docs: Update tray docs with drop and drag-end events --- docs/api/tray.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/api/tray.md b/docs/api/tray.md index 37e17d88ca..47f02c5478 100644 --- a/docs/api/tray.md +++ b/docs/api/tray.md @@ -112,6 +112,10 @@ Emitted when the tray balloon is clicked. Emitted when the tray balloon is closed because of timeout or user manually closes it. +### Event: 'drop' _OS X_ + +Emitted when any dragged items are dropped on the tray icon. + ### Event: 'drop-files' _OS X_ * `event` @@ -127,6 +131,10 @@ Emitted when a drag operation enters the tray icon. Emitted when a drag operation exits the tray icon. +### Event: 'drag-end' _OS X_ + +Emitted when a drag operation ends on the tray or ends at another location. + ## Methods The `Tray` module has the following methods: