The parameter passed into the onnotificationclick
handler,
NotificationEvent interface represents a notification click event
is dispatched on the web.workers.ServiceWorkerGlobalScope
of
web.workers.ServiceWorker
.
The parameter passed into the `onnotificationclick` handler, NotificationEvent interface represents a notification click event is dispatched on the `web.workers.ServiceWorkerGlobalScope` of `web.workers.ServiceWorker`.
(action this)
Property.
[Read Only]
Returns the string ID of the notification button the user clicked. value returns an empty string if the user clicked the notification other than an action button, or the notification does not have button. The notification id is set during the creation of the via the actions array attribute and can't be modified unless notification is replaced.
See also: https://developer.mozilla.org/en-US/docs/Web/API/NotificationEvent/action
Property. [Read Only] Returns the string ID of the notification button the user clicked. value returns an empty string if the user clicked the notification other than an action button, or the notification does not have button. The notification id is set during the creation of the via the actions array attribute and can't be modified unless notification is replaced. See also: `https://developer.mozilla.org/en-US/docs/Web/API/NotificationEvent/action`
(notification this)
Property.
[Read Only]
The notification read-only property of the web.service-workers.NotificationEvent
returns the instance of the web.other.Notification
that was
to fire the event. The web.other.Notification
provides read-only
to many properties that were set at the instantiation time of
Notification such as tag and data attributes that allow you to
information for defered use in the notificationclick event.
See also: https://developer.mozilla.org/en-US/docs/Web/API/NotificationEvent/notification
Property. [Read Only] The notification read-only property of the `web.service-workers.NotificationEvent` returns the instance of the `web.other.Notification` that was to fire the event. The `web.other.Notification` provides read-only to many properties that were set at the instantiation time of Notification such as tag and data attributes that allow you to information for defered use in the notificationclick event. See also: `https://developer.mozilla.org/en-US/docs/Web/API/NotificationEvent/notification`
(wait-until this promise)
Method.
The extendableEvent.waitUntil() method tells the event dispatcher work is ongoing. It can also be used to detect whether that work successful. In service workers, waitUntil() tells the browser work is ongoing until the promise settles, and it shouldn't terminate service worker if it wants that work to complete.
event.waitUntil(promise)
See also: https://developer.mozilla.org/en-US/docs/Web/API/ExtendableEvent/waitUntil
Method. The extendableEvent.waitUntil() method tells the event dispatcher work is ongoing. It can also be used to detect whether that work successful. In service workers, waitUntil() tells the browser work is ongoing until the promise settles, and it shouldn't terminate service worker if it wants that work to complete. `event.waitUntil(promise)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ExtendableEvent/waitUntil`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close