WindowClient
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.
Properties
Functions
Link copied to clipboard
The focus()
method of the WindowClient interface gives user input focus to the current client and returns a ``js-nolint focus() ``
None.
Link copied to clipboard
Link copied to clipboard
The navigate()
method of the WindowClient interface loads a specified URL into a controlled client page then returns a ``js-nolint navigate(url) ``
- url
- : The location to navigate to.
Link copied to clipboard
Link copied to clipboard
The postMessage()
method of the (a Window, Worker, or SharedWorker).