WebIDLpedia

NotificationEvent interface

Definition

Notifications API Standard defines NotificationEvent



[Exposed=ServiceWorker]
interface NotificationEvent : ExtendableEvent {
  constructor(DOMString type, NotificationEventInit eventInitDict);

  readonly attribute Notification notification;
  readonly attribute DOMString action;
};

Methods and attributes that return objects implementing NotificationEvent