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

Method createTextNode

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

Source from the content-addressed store, hash-verified

133 }
134
135 public createTextNode(text: string): Text {
136 return new Text(text, this);
137 }
138
139 public createComment(text: string): Comment {
140 return new Comment(text, this);

Callers 15

cloneNodeMethod · 0.80
replaceWithFunction · 0.80
textContentMethod · 0.80
options.test.tsFile · 0.80
text.test.tsFile · 0.80
innerHTML.test.tsFile · 0.80
children.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected