MCPcopy
hub / github.com/angular/angular / getLViewParent

Function getLViewParent

packages/core/src/render3/util/view_utils.ts:315–319  ·  view source on GitHub ↗
(lView: LView)

Source from the content-addressed store, hash-verified

313 * @param lView the lView whose parent to get
314 */
315export function getLViewParent(lView: LView): LView | null {
316 ngDevMode && assertLView(lView);
317 const parent = lView[PARENT];
318 return isLContainer(parent) ? parent[PARENT] : parent;
319}
320
321export function getOrCreateLViewCleanup(view: LView): any[] {
322 // top level variables should not be exported for performance reasons (PERF_NOTES.md)

Callers 9

isLViewDescendantOfTNodeFunction · 0.90
getFirstNativeNodeFunction · 0.90
collectNativeNodesFunction · 0.90
markViewDirtyFunction · 0.90
getRootViewFunction · 0.90
getOwningComponentFunction · 0.90

Calls 2

assertLViewFunction · 0.90
isLContainerFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…