]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: Update tray docs with drop and drag-end events
authorNishanth Shanmugham <nishanth.gerrard@gmail.com>
Tue, 10 Nov 2015 16:14:55 +0000 (10:14 -0600)
committerNishanth Shanmugham <nishanth.gerrard@gmail.com>
Tue, 10 Nov 2015 16:14:55 +0000 (10:14 -0600)
docs/api/tray.md

index 37e17d88ca2574453ecec7ff4598d4ce2c182bd2..47f02c5478fa8a17fbdd391bdca83b9f3a3c4c59 100644 (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: