MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / addContainer

Method addContainer

www/js/_hyperscript.js:1773–1781  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

1771 }
1772 }
1773 addContainer(node) {
1774 if (node.name != void 0 && node.value != void 0) {
1775 this.addElement(node);
1776 return;
1777 }
1778 if (node.querySelectorAll) {
1779 node.querySelectorAll("input,select,textarea").forEach((child) => this.addElement(child));
1780 }
1781 }
1782 };
1783 function _toHTML(value) {
1784 if (value instanceof Array) {

Callers 1

_hyperscript.jsFile · 0.45

Calls 2

addElementMethod · 0.45
forEachMethod · 0.45

Tested by

no test coverage detected