MCPcopy Index your code
hub / github.com/angular/angular / createDynamicView

Method createDynamicView

packages/core/test/acceptance/lifecycle_spec.ts:1825–1827  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1823 @ViewChild('container', {read: ViewContainerRef}) viewContainerRef!: ViewContainerRef;
1824
1825 createDynamicView() {
1826 this.viewContainerRef.createComponent(DynamicComp);
1827 }
1828 }
1829
1830 TestBed.configureTestingModule({declarations: [App, MyComp, DynamicComp]});

Callers 1

lifecycle_spec.tsFile · 0.80

Calls 1

createComponentMethod · 0.65

Tested by

no test coverage detected