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
The focus()
method of the WindowClient interface gives user input focus to the current client and returns a ``js-nolint focus() ``
None.
The focus()
method of the WindowClient interface gives user input focus to the current client and returns a ``js-nolint focus() ``
None.
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.
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.
The postMessage()
method of the (a Window, Worker, or SharedWorker).