ElectronTray.on('drag-end') method
ElectronTray › on(‘drag-end’)
Unofficial
Registers a listener that is invoked when a drag operation ends on the tray or ends at another location.darwin only. Signature:
on(event: "drag-end", listener: () => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| event | "drag-end" | The event name. |
| listener | () => void | The event handler. |
Returns: this — This tray instance.