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

ComponentFactoryResolver

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

Overview

      
      class ComponentFactoryResolver {
  static NULL: ComponentFactoryResolver
  resolveComponentFactory<T>(component: Type<T>): ComponentFactory<T>
}
    

Static Members

Members

      
      resolveComponentFactory<T>(component: Type<T>): ComponentFactory<T>