WebIDLpedia

PushSubscriptionChangeEvent interface

Definition

Push API defines PushSubscriptionChangeEvent



[Exposed=ServiceWorker, SecureContext]
interface PushSubscriptionChangeEvent : ExtendableEvent {
  constructor(DOMString type, optional PushSubscriptionChangeEventInit eventInitDict = {});
  readonly attribute PushSubscription? newSubscription;
  readonly attribute PushSubscription? oldSubscription;
};

Methods and attributes that return objects implementing PushSubscriptionChangeEvent