MCPcopy Create free account
hub / github.com/angular/angular / applyView

Function applyView

packages/core/src/render3/node_manipulation.ts:921–934  ·  view source on GitHub ↗
(
  tView: TView,
  lView: LView,
  renderer: Renderer,
  action: WalkTNodeTreeAction,
  parentRElement: RElement | null,
  beforeNode: RNode | null,
)

Source from the content-addressed store, hash-verified

919 beforeNode: RNode | null,
920): void;
921export function applyView(
922 tView: TView,
923 lView: LView,
924 renderer: Renderer,
925 action: WalkTNodeTreeAction,
926 parentRElement: RElement | null,
927 beforeNode: RNode | null,
928): void {
929 if (tView.type === TViewType.Foreign) {
930 applyForeignNodes(renderer, action, lView, parentRElement, beforeNode);
931 } else {
932 applyNodes(renderer, action, tView.firstChild, lView, parentRElement, beforeNode, false);
933 }
934}
935
936function applyForeignNodes(
937 renderer: Renderer,

Callers 4

addViewToDOMFunction · 0.85
detachViewFromDOMFunction · 0.85
destroyLViewFunction · 0.85
applyContainerFunction · 0.85

Calls 2

applyForeignNodesFunction · 0.85
applyNodesFunction · 0.85

Tested by

no test coverage detected