package js.html.push
extends ExtendableEvent › Event
Available on js
The PushEvent
interface of the Push API represents a push message that has been received. This event is sent to the global scope of a ServiceWorker
. It contains the information sent from an application server to a PushSubscription
.
Documentation PushEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
new(type:String, ?eventInitDict:Null<PushEventInit>)
Throws:
null |
DOMError |
---|
read onlydata:PushMessageData
Returns a reference to a PushMessageData
object containing data sent to the PushSubscription
.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/push/PushEvent.html