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

Function applyView

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

894 beforeNode: RNode | null,
895): void;
896export function applyView(
897 tView: TView,
898 lView: LView,
899 renderer: Renderer,
900 action: WalkTNodeTreeAction,
901 parentRElement: RElement | null,
902 beforeNode: RNode | null,
903): void {
904 if (tView.type === TViewType.Foreign) {
905 applyForeignNodes(renderer, action, lView, parentRElement, beforeNode);
906 } else {
907 applyNodes(renderer, action, tView.firstChild, lView, parentRElement, beforeNode, false);
908 }
909}
910
911function applyForeignNodes(
912 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