W3cubDocs

/Angular 7

ModuleWithComponentFactories

class

Combination of NgModuleFactory and ComponentFactorys.

class ModuleWithComponentFactories<T> {
  constructor(ngModuleFactory: NgModuleFactory<T>, componentFactories: ComponentFactory<any>[])
  ngModuleFactory: NgModuleFactory<T>
  componentFactories: ComponentFactory<any>[]
}

Constructor

constructor(ngModuleFactory: NgModuleFactory<T>, componentFactories: ComponentFactory<any>[])

Parameters
ngModuleFactory NgModuleFactory
componentFactories ComponentFactory[]

Properties

Property Description
ngModuleFactory: NgModuleFactory<T> Declared in constructor.
componentFactories: ComponentFactory<any>[] Declared in constructor.

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/core/ModuleWithComponentFactories