ModuleWithComponentFactories
Combination of NgModuleFactory and ComponentFactorys.
class ModuleWithComponentFactories<T> {
constructor(ngModuleFactory: NgModuleFactory<T>, componentFactories: ComponentFactory<any>[])
ngModuleFactory: NgModuleFactory<T>
componentFactories: ComponentFactory<any>[]
}
构造函数
参数
|
属性
属性 | 说明 |
---|---|
ngModuleFactory: NgModuleFactory<T> | Declared in constructor. |
componentFactories: ComponentFactory<any>[] | Declared in constructor. |