mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
Implement 'drop-files' tray event on OS X.
This commit is contained in:
@@ -95,6 +95,15 @@ closes it.
|
||||
|
||||
__Note:__ This is only implemented on Windows.
|
||||
|
||||
### Event: 'drop-files'
|
||||
|
||||
* `event`
|
||||
* `files` Array - the file path of dropped files.
|
||||
|
||||
Emitted when dragged files are dropped in the tray icon.
|
||||
|
||||
__Note:__ This is only implemented on OS X.
|
||||
|
||||
### Tray.destroy()
|
||||
|
||||
Destroys the tray icon immediately.
|
||||
|
||||
Reference in New Issue
Block a user