• Genel Bakış
@angular/service-worker

ServiceWorkerModule

NgModule
kararlı

API

    
      class ServiceWorkerModule {}
    
    

register

ModuleWithProviders<ServiceWorkerModule>

Register the given Angular Service Worker script.

If enabled is set to false in the given options, the module will behave as if service workers are not supported by the browser, and the service worker will not be registered.

@paramscriptstring
Detaylara atla