W3cubDocs

/Angular 10

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>>
}

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://v10.angular.io/api/core/NgModuleFactoryLoader