Reputation: 55
I need a get current active node's actual element in fancytree.
because I get actual element position's offset.
I searched fancytree api but i didn't get how to active node's actual element.
Could you help me?
var activeNode = $('#myTree').fancytree('getActiveNode');
//TODO
Upvotes: 0
Views: 612
Reputation: 14794
No sure what you mean be actual element, but the <span>
element is stored as node.span
Upvotes: 1