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

Function createElementNode

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

Source from the content-addressed store, hash-verified

35 * @returns the element created
36 */
37export function createElementNode(
38 renderer: Renderer,
39 name: string,
40 namespace: string | null,
41): RElement {
42 return renderer.createElement(name, namespace);
43}
44
45/**
46 * 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