填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

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 Route
fn () => Observable
返回值

Observable<any>