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() { ... };


This event handler is no longer listed in the Notifications API spec.

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: fscholz, chrisdavidmills, MHasan, kscarfone, Jeremie
Last updated by: fscholz,