ModuleWithComponentFactories

Combination of NgModuleFactory and ComponentFactorys.

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

构造函数

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

参数

ngModuleFactory

Type: NgModuleFactory.

componentFactories

Type: ComponentFactory[].

属性

属性名类型说明
ngModuleFactory声明于构造函数中
componentFactories声明于构造函数中