Searched refs:endDragNode (Results 1 – 1 of 1) sorted by relevance
1021 let endDragNode = collectList.findIndex((it) => it === this); variable1022 if (startDragNode === -1 || endDragNode === -1) return;1023 if (startDragNode < endDragNode && dragDirection === 'top') {1024 endDragNode--;1025 } else if (startDragNode > endDragNode && dragDirection === 'bottom') {1026 endDragNode++;1028 collectList.splice(endDragNode, 0, ...collectList.splice(startDragNode, 1));