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

Function createCommentNode

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

Source from the content-addressed store, hash-verified

24}
25
26export function createCommentNode(renderer: Renderer, value: string): RComment {
27 return renderer.createComment(escapeCommentText(value));
28}
29
30/**
31 * 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