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

Function getInsertInFrontOfRNode

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

564 * @param lView current `LView`
565 */
566function getInsertInFrontOfRNode(
567 parentTNode: TNode,
568 currentTNode: TNode,
569 lView: LView,
570): RNode | null {
571 return _getInsertInFrontOfRNodeWithI18n(parentTNode, currentTNode, lView);
572}
573
574/**
575 * 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