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').push('bar');

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