WebIDLpedia

PushEvent interface

Definition

Push API defines PushEvent



[Exposed=ServiceWorker, SecureContext]
interface PushEvent : ExtendableEvent {
  constructor(DOMString type, optional PushEventInit eventInitDict = {});
  readonly attribute PushMessageData? data;
};

Methods and attributes that return objects implementing PushEvent