docs: Update tray docs with drop and drag-end events

This commit is contained in:
Nishanth Shanmugham 2015-11-10 10:14:55 -06:00
parent d1e8e71e3f
commit ed179ecf03

View file

@ -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: