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

Method destroy

packages/core/test/acceptance/view_ref_spec.ts:54–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 }
53
54 destroy() {
55 (this.componentRef.hostView as InternalViewRef<unknown>).detachFromAppRef();
56 }
57 }
58
59 TestBed.configureTestingModule({declarations: [App, DynamicComponent]});

Callers

nothing calls this directly

Calls 1

detachFromAppRefMethod · 0.80

Tested by

no test coverage detected