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

Function setI18nHandling

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

642) => void;
643
644export function setI18nHandling(
645 getInsertInFrontOfRNodeWithI18n: (
646 parentTNode: TNode,
647 currentTNode: TNode,
648 lView: LView,
649 ) => RNode | null,
650 processI18nInsertBefore: (
651 renderer: Renderer,
652 childTNode: TNode,
653 lView: LView,
654 childRNode: RNode | RNode[],
655 parentRElement: RElement | null,
656 ) => void,
657) {
658 _getInsertInFrontOfRNodeWithI18n = getInsertInFrontOfRNodeWithI18n;
659 _processI18nInsertBefore = processI18nInsertBefore;
660}
661
662/**
663 * 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