freakazoid41/pickle_tree

Possible to search by path?

Closed this issue · 1 comments

Hi

Is it possible to find a node using a path?

hi

Right now you can search from node title already and if you want to find special node from its id its possible too

Relative examples are bellow :

//for getting node from it's id :
let our_node = tree.getNode('5');

//for deleting node
our_node.deleteNode();

//for toggling
our_node.toggleNode();

//for toggle on all parents and find location of node
our_node.showFamily();

//for getting it's childs
our_node.getChilds();

//for check / uncheck node
our_node.toggleCheck(true / false);