MCPcopy
hub / github.com/HelloZeroNet/ZeroNet / addChildren

Function addChildren

plugins/UiConfig/media/js/all.js:570–577  ·  view source on GitHub ↗
(domNode, children, projectionOptions)

Source from the content-addressed store, hash-verified

568 return textUpdated;
569 };
570 var addChildren = function (domNode, children, projectionOptions) {
571 if (!children) {
572 return;
573 }
574 for (var i = 0; i < children.length; i++) {
575 createDom(children[i], domNode, undefined, projectionOptions);
576 }
577 };
578 var initPropertiesAndChildren = function (domNode, vnode, projectionOptions) {
579 addChildren(domNode, vnode.children, projectionOptions);
580 // children before properties, needed for value property of <select>.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected