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

Function setI18nHandling

packages/core/src/render3/node_manipulation.ts:645–661  ·  view source on GitHub ↗
(
  getInsertInFrontOfRNodeWithI18n: (
    parentTNode: TNode,
    currentTNode: TNode,
    lView: LView,
  ) => RNode | null,
  processI18nInsertBefore: (
    renderer: Renderer,
    childTNode: TNode,
    lView: LView,
    childRNode: RNode | RNode[],
    parentRElement: RElement | null,
  ) => void,
)

Source from the content-addressed store, hash-verified

643) => void;
644
645export function setI18nHandling(
646 getInsertInFrontOfRNodeWithI18n: (
647 parentTNode: TNode,
648 currentTNode: TNode,
649 lView: LView,
650 ) => RNode | null,
651 processI18nInsertBefore: (
652 renderer: Renderer,
653 childTNode: TNode,
654 lView: LView,
655 childRNode: RNode | RNode[],
656 parentRElement: RElement | null,
657 ) => void,
658) {
659 _getInsertInFrontOfRNodeWithI18n = getInsertInFrontOfRNodeWithI18n;
660 _processI18nInsertBefore = processI18nInsertBefore;
661}
662
663/**
664 * Appends the `child` native node (or a collection of nodes) to the `parent`.

Callers 2

setInsertBeforeIndexFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected