MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / addContainer

Method addContainer

tools/common/_hyperscript.iife.js:1763–1771  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

1761 }
1762 }
1763 addContainer(node) {
1764 if (node.name != void 0 && node.value != void 0) {
1765 this.addElement(node);
1766 return;
1767 }
1768 if (node.querySelectorAll) {
1769 node.querySelectorAll("input,select,textarea").forEach((child) => this.addElement(child));
1770 }
1771 }
1772 };
1773 function _toHTML(value) {
1774 if (value instanceof Array) {

Callers 1

Calls 2

addElementMethod · 0.45
forEachMethod · 0.45

Tested by

no test coverage detected