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.

ServiceWorkerGlobalScope 인터페이스의 clients 읽기 전용 속성은 서비스 워커와 관련된 Clients 객체를 반환한다.

Syntax

js
swClients = self.clients;

Value

특정한 워커와 관련된 Clients 객체.

명세서

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

브라우저 호환성

BCD tables only load in the browser

See also