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

Method detachFromAppRef

packages/core/src/render3/view_ref.ts:352–360  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

350 }
351
352 detachFromAppRef() {
353 this._appRef = null;
354 const isRoot = isRootView(this._lView);
355 const declarationContainer = this._lView[DECLARATION_LCONTAINER];
356 if (declarationContainer !== null && !isRoot) {
357 detachMovedView(declarationContainer, this._lView);
358 }
359 detachViewFromDOM(this._lView[TVIEW], this._lView);
360 }
361
362 attachToAppRef(appRef: ApplicationRef) {
363 if (this._attachedToViewContainer) {

Callers 2

destroyMethod · 0.80
detachViewMethod · 0.80

Calls 3

isRootViewFunction · 0.90
detachMovedViewFunction · 0.90
detachViewFromDOMFunction · 0.90

Tested by

no test coverage detected