ComponentFactory

Stable Class

Class Overview

class ComponentFactory {
  constructor(selector: string, _viewFactory: Function, _componentType: Type<any>)
  
  
  C 
  selector : string
  componentType : Type<any>
  create(injector: Injector, projectableNodes?: any[][], rootSelectorOrNode?: string|any) : ComponentRef<C>
}

Class Description

Constructor

constructor(selector: string, _viewFactory: Function, _componentType: Type<any>)

Class Details

C
selector : string
componentType : Type<any>
create(injector: Injector, projectableNodes?: any[][], rootSelectorOrNode?: string|any) : ComponentRef<C>

Creates a new component.

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

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

Please login to continue.