phphe/he-tree

Get closest node in the same parent

Opened this issue · 3 comments

Hi,

When using eachDroppable, I want to know the closestNode belonging to the same parent. Is this currently possible?

Thank you

check this: #128

#128 retrieves the closestNode but not always belonging to the same direct parent (same level). Is there any way to get the same level direct parent ?

Thank you

try closestNode.parent