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

Method createElement

engine/layout.js:1457–1460  ·  view source on GitHub ↗
(tagName)

Source from the content-addressed store, hash-verified

1455 }
1456
1457 createElement(tagName) {
1458 const el = new LayoutNode(new Node(tagName, this.document), this.renderer);
1459 return el;
1460 }
1461
1462 createTextNode(str) {
1463 const el = new LayoutNode(new Node('#text', this.document), this.renderer);

Callers 3

constructorMethod · 0.45
makeCanvasMethod · 0.45
renderer.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected