RouterPreloader

Stable

Class

Class Overview

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

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

}

Class Description

Annotations

@Injectable()

Constructor

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

Class Details

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