watchable-object
v3.0.0
Published
[](https://travis-ci.org/mojo-js/watchable-object.js) [](https://coveralls.io/r/mojo-js/watchable-obj
Downloads
131
Readme
var person = new WatchableObject();
person.watch(function () {
});
person.set("name", "Liam Neeson"); // triggers listenerWatchableObject(properties)
initial properties
get(keypath)
keypath to the value
set(keypath, value)
sets a value on the object
watcher watch(listener)
watch for any changes on the object
watcher.dispose()
disposes a watcher
