Note:
This feature is available in Web Workers.Secure context
This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The onshow
property of the Notification
interface specifies an event listener to receive show
events. These events occur when a Notification
is displayed.
Syntax
Notification.onshow = function() { ... };
Browser compatibility
BCD tables only load in the browser