Create a tree with a Backbone Collection
amiceli opened this issue · comments
amiceli commented
Currently we need a BackTree collection.
There is a way to use a Backbone Collection ?
For example :
var collectionObject = new Backbone.Collection({ url : 'users' });
collectionObject.fetch().done(function() {
// create Tree here with collectionObject
var tree = new BackTree.Tree({
collection : collectionObject
});
});
Thank you