This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

PreloadingStrategy

Provides a preloading strategy.

      
      abstract class PreloadingStrategy {
  abstract preload(route: Route, fn: () => Observable<any>): Observable<any>
}
    

Methods

abstract preload(route: Route, fn: () => Observable<any>): Observable<any>
      
      abstract preload(route: Route, fn: () => Observable<any>): Observable<any>
    

Parameters

route

Type: Route.

fn

Type: () => Observable.

Returns

Observable<any>