W3cubDocs

/Angular 4 TypeScript

NoPreloading

Experimental Class

What it does

Provides a preloading strategy that does not preload any modules.

Class Overview

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

Class Description

This strategy is enabled by default.

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/NoPreloading-class.html