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

Function createCommentNode

packages/core/src/render3/dom_node_manipulation.ts:24–26  ·  view source on GitHub ↗
(renderer: Renderer, value: string)

Source from the content-addressed store, hash-verified

22}
23
24export function createCommentNode(renderer: Renderer, value: string): RComment {
25 return renderer.createComment(escapeCommentText(value));
26}
27
28/**
29 * Creates a native element from a tag name, using a renderer.

Calls 2

escapeCommentTextFunction · 0.90
createCommentMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…