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

Function createElementNode

packages/core/src/render3/dom_node_manipulation.ts:35–41  ·  view source on GitHub ↗
(
  renderer: Renderer,
  name: string,
  namespace: string | null,
)

Source from the content-addressed store, hash-verified

33 * @returns the element created
34 */
35export function createElementNode(
36 renderer: Renderer,
37 name: string,
38 namespace: string | null,
39): RElement {
40 return renderer.createElement(name, namespace);
41}
42
43/**
44 * Inserts a native node before another native node for a given parent.

Callers 4

createHostElementFunction · 0.90

Calls 1

createElementMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…