ElectronTray.on('balloon-click') method
ElectronTray › on(‘balloon-click’)
Unofficial
Registers a listener that is invoked when the tray balloon is clicked.win32 only. Signature:
on(event: "balloon-click", listener: () => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| event | "balloon-click" | The event name. |
| listener | () => void | The event handler. |
Returns: this — This tray instance.