MCPcopy Create free account
hub / github.com/angular/angular / createDynamicComponent

Method createDynamicComponent

packages/core/test/acceptance/component_spec.ts:730–735  ·  view source on GitHub ↗
(target: any)

Source from the content-addressed store, hash-verified

728 constructor(public injector: EnvironmentInjector) {}
729
730 createDynamicComponent(target: any) {
731 createComponent(DynamicComponent, {
732 hostElement: target,
733 environmentInjector: this.injector,
734 });
735 }
736 }
737
738 function _document(): any {

Callers 1

component_spec.tsFile · 0.80

Calls 1

createComponentFunction · 0.90

Tested by

no test coverage detected