({ dragEl, putSortable })
| 30 | this.startIndex = oldDraggableIndex; |
| 31 | }, |
| 32 | onSpill({ dragEl, putSortable }) { |
| 33 | this.sortable.captureAnimationState(); |
| 34 | if (putSortable) { |
| 35 | putSortable.captureAnimationState(); |
| 36 | } |
| 37 | let nextSibling = getChild(this.sortable.el, this.startIndex, this.options); |
| 38 | |
| 39 | if (nextSibling) { |
| 40 | this.sortable.el.insertBefore(dragEl, nextSibling); |
| 41 | } else { |
| 42 | this.sortable.el.appendChild(dragEl); |
| 43 | } |
| 44 | this.sortable.animateAll(); |
| 45 | if (putSortable) { |
| 46 | putSortable.animateAll(); |
| 47 | } |
| 48 | }, |
| 49 | drop |
| 50 | }; |
| 51 |
nothing calls this directly
no test coverage detected
searching dependent graphs…