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

Function setI18nHandling

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

618) => void;
619
620export function setI18nHandling(
621 getInsertInFrontOfRNodeWithI18n: (
622 parentTNode: TNode,
623 currentTNode: TNode,
624 lView: LView,
625 ) => RNode | null,
626 processI18nInsertBefore: (
627 renderer: Renderer,
628 childTNode: TNode,
629 lView: LView,
630 childRNode: RNode | RNode[],
631 parentRElement: RElement | null,
632 ) => void,
633) {
634 _getInsertInFrontOfRNodeWithI18n = getInsertInFrontOfRNodeWithI18n;
635 _processI18nInsertBefore = processI18nInsertBefore;
636}
637
638/**
639 * 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