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:

ParameterTypeDescription
event"balloon-click"The event name.
listener() => voidThe event handler.

Returns: thisThis tray instance.