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

Class StructDir

packages/core/test/acceptance/view_container_ref_spec.ts:3214–3227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3212 standalone: false,
3213})
3214export class StructDir {
3215 constructor(
3216 private vcref: ViewContainerRef,
3217 private tplRef: TemplateRef<any>,
3218 ) {}
3219
3220 create() {
3221 this.vcref.createEmbeddedView(this.tplRef);
3222 }
3223
3224 destroy() {
3225 this.vcref.clear();
3226 }
3227}
3228
3229@Component({
3230 selector: 'destroy-cases',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…