• Overview
@angular/core

ComponentFactoryResolver

Class
Deprecated

A simple registry that maps Components to generated ComponentFactory classes that can be used to create instances of components. Use to obtain the factory for a given component type, then use the factory's create() method to create a component of that type.

  
    abstract class ComponentFactoryResolver {}
  
  

resolveComponentFactory

Retrieves the factory object that creates a component of the given type.

@paramcomponentType<T>

The component type.

@returnsComponentFactory<T>
Jump to details