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