MCPcopy Create free account
hub / github.com/CanadaHonk/shadow / createTextNode

Method createTextNode

engine/layout.js:1462–1466  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

1460 }
1461
1462 createTextNode(str) {
1463 const el = new LayoutNode(new Node('#text', this.document), this.renderer);
1464 el.content = str;
1465 return el;
1466 }
1467
1468 remove() {
1469 super.remove();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected