W3cubDocs

/Angular 2

ModuleWithComponentFactories

Experimental Class

Class Overview

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

Class Description

Combination of NgModuleFactory and ComponentFactorys.

Constructor

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

Class Details

ngModuleFactory : NgModuleFactory<T>
componentFactories : ComponentFactory<any>[]

exported from @angular/core/index, defined in @angular/core/src/linker/compiler.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/core/index/ModuleWithComponentFactories-class.html