Skip to content

onInstanceBoundChange, defineInstanceKey, onInstancePatches, onPatches

Compare
Choose a tag to compare
@justinbmeyer justinbmeyer released this 09 Nov 16:17
· 175 commits to master since this release

From #77

  • defineInstanceKey(Type, key, descriptor) - define a key behavior on instances of a type
  • onInstanceBoundChange(Type, handler(instance, isBound) ) - listen to when instances of this type are bound or unbound
  • onInstancePatches(Type, handler(instance, patches) ) - listen to the patches events of all instances of this type
  • onPatches(obj, handler(patches)) - listen to patch events on this type