phphe/he-tree-vue

Limit the depth of tree

cpgb85 opened this issue · 3 comments

is there a way to limit the depth of the tree?

phphe commented

Use hook prop eachDroppable, calc dragging node's depth and hoveing node's depth, return boolean to control if droppable.

and how do i do this? you have almost no code examples

phphe commented

I recommend using he-tree. There is a prop for that: maxLevel