MCPcopy Index your code
hub / github.com/Tencent/kbone / createTextNode

Method createTextNode

packages/miniprogram-render/src/document.js:405–412  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

403 }
404
405 createTextNode(content) {
406 content = '' + content
407
408 return this.$$createTextNode({
409 content,
410 nodeId: `b-${tool.getId()}`, // 运行时生成,使用 b- 前缀
411 })
412 }
413
414 createComment() {
415 // 忽略注释内容的传入

Callers 12

window.test.jsFile · 0.80
document.test.jsFile · 0.80
node.test.jsFile · 0.80
text-node.test.jsFile · 0.80
element.test.jsFile · 0.80
updateMethod · 0.80
parseFunction · 0.80
index.test.jsFile · 0.80
buildFragmentFunction · 0.80
fFunction · 0.80
vFunction · 0.80

Calls 1

$$createTextNodeMethod · 0.95

Tested by

no test coverage detected