Search completed in 1.05 seconds.
onnotificationclose - Web APIs
the serviceworkerglobalscope.on
notificationclose property is an event handler called whenever the
notificationclose event is dispatched on the serviceworkerglobalscope object, that is when a user closes a displayed notification spawned by serviceworkerregistration.shownotification().
... syntax serviceworkerglobalscope.on
notificationclose = function(notificationevent) { ...
... }; serviceworkerglobalscope.addeventlistener('
notificationclose', function(notificationevent) { ...
...self.on
notificationclose = function(event) { console.log('on notification close: ', event.notification.tag); }; specifications specification status comment notifications apithe definition of 'onnotificationclick' in that specification.
Index - Web APIs
3971 on
notificationclose api, experimental, interface, property, reference, serviceworkerglobalscope, on
notificationclose the serviceworkerglobalscope.on
notificationclose property is an event handler called whenever the
notificationclose event is dispatched on the serviceworkerglobalscope object, that is when a user closes a displayed notification spawned by serviceworkerregistration.shownotification().