NgModuleFactoryLoader

From Get docs
< @angular/coreAngular/docs/9/api/core/ngmodulefactoryloader


NgModuleFactoryLoader

class deprecated

Used to load ng module factories.

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

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

Subclasses

  • SystemJsNgModuleLoader
  • SpyNgModuleFactoryLoader


Methods

abstract load(path: string): Promise<NgModuleFactory<any>>

Parameters
path string
Returns

Promise<NgModuleFactory<any>>



© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v9.angular.io/api/core/NgModuleFactoryLoader