The Wayback Machine - https://web.archive.org/web/20240920155642/https://angular.dev/api/core/createComponent/
@angular/core

createComponent

function

Creates a ComponentRef instance based on provided component type and a set of options.

  
    createComponent(  component: Type<C>,  options: { environmentInjector: EnvironmentInjector; hostElement?: Element; elementInjector?: Injector; projectableNodes?: Node[][]; }): ComponentRef<C>;
  
  
Jump to details
HTTPS · web.archive.org
← Home