RouterPreloader

Stable

Class

Class Overview

class RouterPreloader {
constructor(router: Router, moduleLoader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, preloadingStrategy: PreloadingStrategy)

setUpPreloading() : void
preload() : Observable<any>
ngOnDestroy()

}

Class Description

Annotations

@Injectable()

Constructor

constructor(router: Router, moduleLoader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, preloadingStrategy: PreloadingStrategy)

Class Details

exported from @angular/router/index, defined in @angular/router/src/router_preloader.ts