NgModuleFactory

Experimental Class

Class Overview

class NgModuleFactory {
  constructor(_injectorClass: {new (parentInjector: Injector): NgModuleInjector<T>}, _moduleType: Type<T>)
  
  
  moduleType : Type<T>
  create(parentInjector: Injector) : NgModuleRef<T>
}

Class Description

Constructor

constructor(_injectorClass: {new (parentInjector: Injector): NgModuleInjector<T>}, _moduleType: Type<T>)

Class Details

moduleType : Type<T>
create(parentInjector: Injector) : NgModuleRef<T>

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

doc_Angular
2016-10-06 09:46:45
Comments
Leave a Comment

Please login to continue.