array-to-tree icon indicating copy to clipboard operation
array-to-tree copied to clipboard

[feature request] deep-each-function

Open treemore opened this issue 7 years ago • 2 comments

arrayToTree(dataTwo, {
  parentProperty: 'parent',
  customID: '_id',
 each:(node)=>{
// here i can do some things. like choice  the right node to an other list
}
});

this options we can choice some node but no need to deep traverse the whole tree.

treemore avatar Aug 29 '18 15:08 treemore

That's a great idea! I'll take a look into it

alferov avatar Aug 29 '18 16:08 alferov

any way to archive that?

franciscobrba avatar Oct 22 '18 14:10 franciscobrba