W3cubDocs

/Angular 4 TypeScript

PreloadingStrategy

Experimental Class

What it does

Provides a preloading strategy.

Class Overview

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

Class Description

Class Details

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

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

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/docs/ts/latest/api/router/index/PreloadingStrategy-class.html