填寫這份《一分鐘調查》,幫我們(開發組)做得更好!去填寫Home

ModuleWithComponentFactories

NgModuleFactory 和一些 ComponentFactory 的組合。

Combination of NgModuleFactory and ComponentFactories.

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

建構函式

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

屬性

屬性說明
ngModuleFactory: NgModuleFactory<T>宣告在建構函式中
componentFactories: ComponentFactory<any>[]宣告在建構函式中