PreloadingStrategy

class

npm Package @angular/router
Module import { PreloadingStrategy } from '@angular/router';
Source router/src/router_preloader.ts

Provides a preloading strategy.

Overview

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

Subclasses

  • NoPreloading
  • PreloadAllModules

Members

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

© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/router/PreloadingStrategy