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

NgModuleFactoryLoader

用来加载 ng 模块工厂。

Used to load ng module factories.

已弃用: the string form of loadChildren is deprecated, and NgModuleFactoryLoader is part of its implementation. See LoadChildren for more details.

不建议使用 loadChildrenstring 形式,NgModuleFactoryLoader 是其实现的一部分。欲知详情,请参见 LoadChildren

      
      abstract class NgModuleFactoryLoader {
  abstract load(path: string): Promise<NgModuleFactory<any>>
}
    

方法

abstract load(path: string): Promise<NgModuleFactory<any>>
      
      abstract load(path: string): Promise<NgModuleFactory<any>>
    
参数
path string
返回值

Promise<NgModuleFactory<any>>