pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://angular.dev/api/core/ComponentFactory

=== 'auto' && prefersDark)) { documentClassList.add(DARK_MODE_CLASS_NAME); } else { documentClassList.add(LIGHT_MODE_CLASS_NAME); } if (location.search.includes('uwu')) { documentClassList.add('uwu'); } ComponentFactory • Angular
    • Overview
@angular/core

ComponentFactory

Class
deprecated

Base class for a factory that can create a component dynamically. Instantiate a factory for a given type of component with resolveComponentFactory(). Use the resulting ComponentFactory.create() method to create a component of that type.

Deprecation warning

Angular no longer requires Component factories. Please use other APIs where Component class can be used directly.

API

    
      abstract class ComponentFactory<C> {}
    
    

selector

string

The component's HTML selector.

componentType

Type<any>

The type of component the factory will create.

ngContentSelectors

string[]

Selector for all elements in the component.

inputs

{ propName: string; templateName: string; transform?: ((value: any) => any) | undefined; isSignal: boolean; }[]

The inputs of the component.

outputs

{ propName: string; templateName: string; }[]

The outputs of the component.

create

ComponentRef<C>

Creates a new component.

@paraminjectorInjector
@paramprojectableNodesany[][] | undefined
@paramrootSelectorOrNodeany
@paramenvironmentInjectorEnvironmentInjector | NgModuleRef<any> | undefined
@paramdirectives(Type<unknown> | DirectiveWithBindings<unknown>)[] | undefined
@parambindingsBinding[] | undefined
@returnsComponentRef<C>
Jump to details
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy