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

Function nativeInsertBefore

packages/core/src/render3/dom_node_manipulation.ts:47–55  ·  view source on GitHub ↗
(
  renderer: Renderer,
  parent: RElement,
  child: RNode,
  beforeNode: RNode | null,
  isMove: boolean,
)

Source from the content-addressed store, hash-verified

45 * This is a utility function that can be used when native nodes were determined.
46 */
47export function nativeInsertBefore(
48 renderer: Renderer,
49 parent: RElement,
50 child: RNode,
51 beforeNode: RNode | null,
52 isMove: boolean,
53): void {
54 renderer.insertBefore(parent, child, beforeNode, isMove);
55}
56
57export function nativeAppendChild(renderer: Renderer, parent: RElement, child: RNode): void {
58 ngDevMode && assertDefined(parent, 'parent node must be defined');

Callers 6

insertAnchorNodeFunction · 0.90
processI18nInsertBeforeFunction · 0.90
applyCreateOpCodesFunction · 0.90
applyMutableOpCodesFunction · 0.90

Calls 1

insertBeforeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…