ElectronNotification.on('show') method
ElectronNotification › on(‘show’)
Unofficial
Registers an event listener that is invoked when the notification is shown to the user.Signature:
on(event: "show", listener: (event: ElectronEvent) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| event | "show" | The event name. |
| listener | (event: ElectronEvent) => void | The event handler. |
Returns: this — This notification instance.