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> | 声明于构造函数中 |
componentFactories: ComponentFactory<any>[] | 声明于构造函数中 |