A hook allow you to observe what happens to a specific object. All hooks have Hook in their mimic chain.

Mimics
Inactive cells
Active cells
Specs
Inactive cells (details)
kind = "Hook"
Active cells (details)
cellAdded(obj, sym)

nil

method(obj, sym, 
  nil)
cellChanged(obj, sym, originalValue)

nil

method(obj, sym, originalValue, 
  nil)
cellRemoved(obj, sym, originalValue)

nil

method(obj, sym, originalValue, 
  nil)
cellUndefined(obj, sym, originalValue)

nil

method(obj, sym, originalValue, 
  nil)
connectedObjects()

returns the objects this hook is connected to

hook!(objectToHookInto)

Takes one argument and will add that to the list of connected objects

into(firstConnected, +restConnected)

Takes one or more arguments to hook into and returns a new Hook connected to them.

mimicAdded(obj, newMimic)

nil

method(obj, newMimic, 
  nil)
mimicRemoved(obj, removedMimic)

nil

method(obj, removedMimic, 
  nil)
mimicked(obj, newMimicker)

nil

method(obj, newMimicker, 
  nil)
mimicsChanged(obj, changedMimic)

nil

method(obj, changedMimic, 
  nil)