MCPcopy Index your code
hub / github.com/PixelsCommander/HTML-GL / addRow

Function addRow

page/js/dat.gui.js:2351–2361  ·  view source on GitHub ↗

* Add a row to the end of the GUI or before another row. * * @param gui * @param [dom] If specified, inserts the dom content in the new row * @param [liBefore] If specified, places the new row before another row

(gui, dom, liBefore)

Source from the content-addressed store, hash-verified

2349 * @param [liBefore] If specified, places the new row before another row
2350 */
2351 function addRow(gui, dom, liBefore) {
2352 var li = document.createElement('li');
2353 if (dom) li.appendChild(dom);
2354 if (liBefore) {
2355 gui.__ul.insertBefore(li, params.before);
2356 } else {
2357 gui.__ul.appendChild(li);
2358 }
2359 gui.onResize();
2360 return li;
2361 }
2362
2363 function augmentController(gui, li, controller) {
2364

Callers 3

GUIFunction · 0.85
dat.gui.jsFile · 0.85
addFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected