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:

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

Returns: thisThis tray instance.