NoPreloading

Provides a preloading strategy that does not preload any modules.

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

说明

This strategy is enabled by default.

方法

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

参数

route

Type: Route.

fn

Type: () => Observable.

返回值

Observable<any>