From: Nishanth Shanmugham Date: Tue, 10 Nov 2015 16:14:55 +0000 (-0600) Subject: docs: Update tray docs with drop and drag-end events X-Git-Tag: v0.35.0~22^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=ed179ecf03fcfb40daeacd1b35621989dc65322b;p=electron.git docs: Update tray docs with drop and drag-end events --- diff --git a/docs/api/tray.md b/docs/api/tray.md index 37e17d88..47f02c54 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: