MCPcopy Create free account
hub / github.com/angular/angular / isEnabled

Method isEnabled

packages/service-worker/src/push.ts:172–174  ·  view source on GitHub ↗

* True if the Service Worker is enabled (supported by the browser and enabled via * `ServiceWorkerModule`).

()

Source from the content-addressed store, hash-verified

170 * `ServiceWorkerModule`).
171 */
172 get isEnabled(): boolean {
173 return this.sw.isEnabled;
174 }
175
176 private pushManager: Observable<PushManager> | null = null;
177 private subscriptionChanges = new Subject<PushSubscription | null>();

Callers 2

testsFunction · 0.45
app.e2e-spec.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected