Skip to content
Christian Alfoni edited this page Mar 13, 2015 · 3 revisions
var Baobab = require('baobab');

var tree = new Baobab({
  items: ['foo']
});

tree.select('items').unshift('bar');

// On update event
tree.select('items').get();
>>> ['bar', 'foo']