MCPcopy
hub / github.com/angular/angular / createComponent

Method createComponent

packages/core/test/acceptance/component_spec.ts:660–665  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

658 constructor(private _injector: EnvironmentInjector) {}
659
660 createComponent() {
661 return createComponent(CompA, {
662 environmentInjector: this._injector,
663 hostElement: document.createElement('div'),
664 });
665 }
666 }
667
668 @Component({

Callers

nothing calls this directly

Calls 2

createComponentFunction · 0.90
createElementMethod · 0.65

Tested by

no test coverage detected