Closed miso25 closed 4 years ago
Hi, is there any way to find out the replaced node after dragend? Or find the node by its index (to find the node before the one i just dropped)?
i just found your answer in #89
// previousSibling index = dplh.parent.children.indexOf(dplh) dplh.parent.children[index-1]
this is what i needed
Hi, is there any way to find out the replaced node after dragend? Or find the node by its index (to find the node before the one i just dropped)?