• 개요
@angular/service-worker

ServiceWorkerModule

NgModule
안정화

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
상세 내용으로 이동