MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / addChildren

Function addChildren

plugins/UiPluginManager/media/js/all.js:573–580  ·  view source on GitHub ↗
(domNode, children, projectionOptions)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected