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

Function nativeAppendChild

packages/core/src/render3/dom_node_manipulation.ts:59–62  ·  view source on GitHub ↗
(renderer: Renderer, parent: RElement, child: RNode)

Source from the content-addressed store, hash-verified

57}
58
59export function nativeAppendChild(renderer: Renderer, parent: RElement, child: RNode): void {
60 ngDevMode && assertDefined(parent, 'parent node must be defined');
61 renderer.appendChild(parent, child);
62}
63
64export function nativeAppendOrInsertBefore(
65 renderer: Renderer,

Callers 2

Calls 2

assertDefinedFunction · 0.90
appendChildMethod · 0.65

Tested by

no test coverage detected