backbone-tree-model
backbone-tree-model copied to clipboard
Tree data structure using Backbone Model and Collection
In this line: var BackboneTreeModel = require('backbone-tree-modle'); it should be 'backbone-tree-model'
I use this model by extending it and adding some asynchronous data fetching methods, the flow is as follows 1. create instance 2. fetch data 3. add data to instance...
Hi there, Can you please help me with the removing of the node from the TreeModel? `var treeDataObj = new Backbone.TreeModel({ tagname: 'treeData', nodes : treeData }); treeDataObj.find('someId').remove();` on `remove()`...