(evt)
| 422 | }, |
| 423 | |
| 424 | onDragRemove(evt) { |
| 425 | insertNodeAt(this.rootContainer, evt.item, evt.oldIndex); |
| 426 | if (this.isCloning) { |
| 427 | removeNode(evt.clone); |
| 428 | return; |
| 429 | } |
| 430 | const oldIndex = this.context.index; |
| 431 | this.spliceList(oldIndex, 1); |
| 432 | const removed = { element: this.context.element, oldIndex }; |
| 433 | this.resetTransitionData(oldIndex); |
| 434 | this.emitChanges({ removed }); |
| 435 | }, |
| 436 | |
| 437 | onDragUpdate(evt) { |
| 438 | removeNode(evt.item); |
nothing calls this directly
no test coverage detected