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

Function getInsertInFrontOfRNode

packages/core/src/render3/node_manipulation.ts:560–566  ·  view source on GitHub ↗

* Find a node in front of which `currentTNode` should be inserted. * * This method determines the `RNode` in front of which we should insert the `currentRNode`. This * takes `TNode.insertBeforeIndex` into account if i18n code has been invoked. * * @param parentTNode parent `TNode` * @param cur

(
  parentTNode: TNode,
  currentTNode: TNode,
  lView: LView,
)

Source from the content-addressed store, hash-verified

558 * @param lView current `LView`
559 */
560function getInsertInFrontOfRNode(
561 parentTNode: TNode,
562 currentTNode: TNode,
563 lView: LView,
564): RNode | null {
565 return _getInsertInFrontOfRNodeWithI18n(parentTNode, currentTNode, lView);
566}
567
568/**
569 * Find a node in front of which `currentTNode` should be inserted. (Does not take i18n into

Callers 2

appendChildFunction · 0.85
applyProjectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…