package js.html
extends ExtendableEvent › Event
Available on js
The parameter passed into the onnotificationclick
handler, the NotificationEvent
interface represents a notification click event that is dispatched on the ServiceWorkerGlobalScope
of a ServiceWorker
.
Documentation NotificationEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
new(type:String, eventInitDict:NotificationEventInit)
Throws:
null |
DOMError |
---|
read onlynotification:Notification
Returns a Notification
object representing the notification that was clicked to fire the event.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/NotificationEvent.html