addAll
Specify how to observe a value that is currently being read with multiple bindings.
ObservationRecorder.addMany(observes)
The same as add but takes an array of [object, event]
arrays.
The following indicates to onKeyValue obj1
and obj2
and
onValue value
:
ObservationRecorder.addMany( [
[ obj1, "prop1" ],
[ value ],
[ obj2, "prop2" ]
] );
Parameters
- observes
{Array}
:An array of
[object, event]
"observable" arrays. If an "observable" array only has one item, it's assumed to be a onValue binding.