bredele / datastore

:hamster: Bloat free and flexible interface for data store and database access.
101 stars 9 forks source link

Get path #16

Closed bredele closed 8 years ago

bredele commented 10 years ago
store.get('prop.attr');

Listen prop or create new store from it or make diff

store.on('changed prop.attr', ...);
bredele commented 10 years ago

We should probably create a change handler (doesn't override on):

store.change('prop.attr', ...);

we should also set a prop as following:

store.set('prop.attr', 3000);