Results 101 - 117 of 117

Using the Push API

The W3C Push API offers some exciting new functionality for developers to use in web applications: this article provides an introduction to getting Push notifications setup and running, with a simple demo.
API Experimental Guide JavaScript Push Push API Service Workers web push

PushSubscription.subscriptionId

The endpoint read-only property of the PushSubscription interface returns a DOMString containing the subscription ID associated with the push subscription.
API Deprecated Experimental Property Push Push API PushSubscription Reference Service Workers subscriptionId

WindowClient.focused

The focused read-only property of the WindowClient interface is a Boolean that indicates whether the current client has focus.
API Experimental Expérimental focused Property Reference Référence Service Workers ServiceWorker WindowClient