MCPcopy
hub / github.com/ampproject/worker-dom / createComment

Method createComment

src/worker-thread/dom/Document.ts:139–141  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

137 }
138
139 public createComment(text: string): Comment {
140 return new Comment(text, this);
141 }
142
143 public createDocumentFragment(): DocumentFragment {
144 return new DocumentFragment(this);

Callers 13

cloneNodeMethod · 0.80
innerHTML.test.tsFile · 0.80
cloneNode.test.tsFile · 0.80
initialize.test.tsFile · 0.80
NodeContextClass · 0.80
parseFunction · 0.80
app.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected