The onclose property of the Notification interface specifies an event listener to receive close events. These events occur when a Notification is closed.


Notification.onclose = function() { ... };

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes ? Yes No ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No Yes ? Yes ? ? ?

See also

Document Tags and Contributors

Contributors to this page: clshortfuse, fscholz, chrisdavidmills, MHasan, kscarfone, Jeremie
Last updated by: clshortfuse,