Notification: show event
Web Notifications
Web Notifications
The show event of the Notification interface fires when a Notification is displayed.
Syntax
Use the event name in addEventListener():
addEventListener("show", (event) => { })
Alternatively, assign to the event handler property of the interface:
onshow = (event) => { }
Event type
A generic Event.