holiber/sl-vue-tree

Cancel Drop event

Opened this issue · 2 comments

Hi there.

I wanna cancel drop event when node is move to parent side.
Are there any function like stop or cancel the drop event?
Thanks a lot!

Try this solution #12

There is a beforeDrop event in the code which is cancelable and emited to the root. However, it is not doumented how to use it