Skip to content

ElectronTray.on('balloon-show') method

ElectronTray › on(‘balloon-show’)

Unofficial

Registers a listener that is invoked when the tray balloon shows. win32 only.

Signature:

on(event: "balloon-show", listener: () => void): this

Parameters:

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

Returns: thisThis tray instance.