Experimental
Class
Provides a preloading strategy that preloads all modules as quicky as possible.
RouteModule.forRoot(ROUTES, {preloadingStrategy: PreloadAllModules})
class PreloadAllModules implements PreloadingStrategy { preload(route: Route, fn: () => Observable<any>) : Observable<any> }
preload(route: Route, fn: () => Observable<any>) : Observable<any>
exported from @angular/router/index, defined in @angular/router/src/router_preloader.ts
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/router/index/PreloadAllModules-class.html