Previously, the names were drag-entered and drag-exited. The new names mirror the HTML Drag and Drop event names
}
void Tray::OnDragEntered() {
- Emit("drag-entered");
+ Emit("drag-enter");
}
void Tray::OnDragExited() {
- Emit("drag-exited");
+ Emit("drag-leave");
}
bool Tray::IsDestroyed() const {
Emitted when dragged files are dropped in the tray icon.
-### Event: 'drag-entered' _OS X_
+### Event: 'drag-enter' _OS X_
Emitted when a drag operation enters the tray icon.
-### Event: 'drag-exited' _OS X_
+### Event: 'drag-leave' _OS X_
Emitted when a drag operation exits the tray icon.