ComponentFactoryResolver
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.
Deprecation warning
API
abstract class ComponentFactoryResolver { abstract resolveComponentFactory<T>(component: Type<T>): ComponentFactory<T>; static NULL: ComponentFactoryResolver;}
resolveComponentFactory
ComponentFactory<T>Retrieves the factory object that creates a component of the given type.
ComponentFactory<T>Description
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.
Note: since v13, dynamic component creation via
ViewContainerRef.createComponent
does not require resolving component factory: component class can be used directly.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
