Skip to content

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): this

Parameters:

Parameter Type Description
event "balloon-click" The event name.
listener () => void The event handler.

Returns: thisThis tray instance.