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

Function applyView

packages/core/src/render3/node_manipulation.ts:920–933  ·  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

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