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

Function removeLViewFromLContainer

packages/core/src/render3/view/container.ts:128–137  ·  view source on GitHub ↗
(
  lContainer: LContainer,
  index: number,
)

Source from the content-addressed store, hash-verified

126}
127
128export function removeLViewFromLContainer(
129 lContainer: LContainer,
130 index: number,
131): LView<unknown> | undefined {
132 const lView = detachView(lContainer, index);
133 if (lView !== undefined) {
134 destroyLView(lView[TVIEW], lView);
135 }
136 return lView;
137}
138
139/**
140 * Detaches a view from a container.

Callers 3

ɵɵconditionalFunction · 0.90
ɵɵrepeaterFunction · 0.90
applyDeferBlockStateFunction · 0.90

Calls 2

destroyLViewFunction · 0.90
detachViewFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…