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

Method addContainer

www/js/_hyperscript-max.js:1772–1780  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 2

addElementMethod · 0.45
forEachMethod · 0.45

Tested by

no test coverage detected