W3cubDocs

/Angular 11

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

Provided in

Methods

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

Parameters
path string
Returns

Promise<NgModuleFactory<any>>

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