ServiceWorkerGlobalScope.clients

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since April 2018.

A propriedade somente-leitura clients da interface ServiceWorkerGlobalScope retorna os objetos dos Clients associatos ao service worker.

Sintaxe

swClients = self.clients

Valor

O objeto Clients associado ao service worker específico.

Especificações

Specification
Service Workers
# service-worker-global-scope-clients

Compatibilidade com navegadores

BCD tables only load in the browser

Veja também