NoPreloading

class

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

Provides a preloading strategy that does not preload any modules.

Overview

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

Description

This strategy is enabled by default.

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/NoPreloading