This is the archived documentation for Angular v5. Please visit angular.io to see documentation for the current version of Angular.

ModuleWithComponentFactories

npm Package @angular/core
Module import { ModuleWithComponentFactories } from '@angular/core';
Source core/src/linker/compiler.ts

Overview

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

Description

Combination of NgModuleFactory and ComponentFactorys.

Constructor

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

Members

      
      ngModuleFactory: NgModuleFactory<T>
    

      
      componentFactories: ComponentFactory<any>[]