src code

class method SpahQL.Callbacks.pathModifiedOnObject

SpahQL.Callbacks.pathModifiedOnObject(path, data, oldvalue, newvalue) → void
  • path (String) – The absolute path for the modified object
  • data (Object) – The root data context that was modified
  • oldvalue (Object) – The value previously found at the modified path
  • newvalue (Object) – The new, up-to-date value for the modified path. If null, the path is considered deleted.

Receives a signal from any modified query result that the data at a specific path has been replaced, and triggers event dispatchers registered against the same path and higher that were registered using the same on the same root data construct (using pointer equality.)