mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
docs: Update tray docs with drop and drag-end events
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user