Skip to content

Initial Release

Choose a tag to compare

@phillipskevin phillipskevin released this 26 Sep 14:52
· 178 commits to master since this release
 var obs = observable('one');

 canReflect.getValue(obs); // -> "one"

 canReflect.setValue(obs, 'two');
 canReflect.getValue(obs); // -> "two"

 function handler(newValue) {
   // -> "three"
 };
 canReflect.onValue(obs, handler);
 canReflect.setValue(obs, 'three');

 canReflect.offValue(obs, handler);