MCPcopy Create free account
hub / github.com/microsoft/SandDance / recurse

Function recurse

docs/app/js/sanddance-app.js:124410–124418  ·  view source on GitHub ↗
(renderer, el, group8)

Source from the content-addressed store, hash-verified

124408 return index + 1;
124409} // Recursively process group contents.
124410function recurse(renderer, el, group8) {
124411 el = el.lastChild.previousSibling;
124412 let prev, idx = 0;
124413 visit(group8, (item)=>{
124414 prev = renderer.mark(el, item, prev);
124415 ++idx;
124416 }); // remove any extraneous DOM elements
124417 domClear(el, 1 + idx);
124418} // Bind a scenegraph item to an SVG DOM element.
124419// Create new SVG elements as needed.
124420function bind(item, el, sibling, tag, svg) {
124421 let node = item._svg, doc; // create a new dom node if needed

Callers 1

processFunction · 0.70

Calls 2

visitFunction · 0.70
domClearFunction · 0.70

Tested by

no test coverage detected