* Insert multi-drag clones * @param {[Boolean]} elementsInserted Whether the multi-drag elements are inserted * @param {HTMLElement} rootEl
(elementsInserted, rootEl)
| 3346 | * @param {HTMLElement} rootEl |
| 3347 | */ |
| 3348 | function insertMultiDragClones(elementsInserted, rootEl) { |
| 3349 | multiDragClones.forEach(function (clone, i) { |
| 3350 | var target = rootEl.children[clone.sortableIndex + (elementsInserted ? Number(i) : 0)]; |
| 3351 | if (target) { |
| 3352 | rootEl.insertBefore(clone, target); |
| 3353 | } else { |
| 3354 | rootEl.appendChild(clone); |
| 3355 | } |
| 3356 | }); |
| 3357 | } |
| 3358 | function removeMultiDragElements() { |
| 3359 | multiDragElements.forEach(function (multiDragElement) { |
| 3360 | if (multiDragElement === dragEl$1) return; |
no outgoing calls
no test coverage detected
searching dependent graphs…