Package-level declarations
Types
The ExtendableEvent
interface extends the lifetime of the install
and activate
events dispatched on the global scope as part of the service worker lifecycle.
The ExtendableMessageEvent
interface of the Service Worker API represents the event object of a ServiceWorkerGlobalScope/message_event event fired on a service worker (when a message is received on the ServiceWorkerGlobalScope from another context) — extends the lifetime of such events.
This is the event type for fetch
events dispatched on the ServiceWorkerGlobalScope.
The NavigationPreloadManager
interface of the Service Worker API provides methods for managing the preloading of resources in parallel with service worker bootup. Available only in secure contexts.
The NotificationEvent
interface of the Notifications API represents a notification event dispatched on the ServiceWorkerGlobalScope of a ServiceWorker.
The ServiceWorker
interface of the Service Worker API provides a reference to a service worker. Available only in secure contexts.
The ServiceWorkerContainer
interface of the Service Worker API provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations. Available only in secure contexts.
The ServiceWorkerGlobalScope
interface of the Service Worker API represents the global execution context of a service worker. Available only in secure contexts.
The ServiceWorkerRegistration
interface of the Service Worker API represents the service worker registration. Available only in secure contexts.
The WindowClient
interface of the ServiceWorker API represents the scope of a service worker client that is a document in a browsing context, controlled by an active worker.