Property Observers
Observe any property and react!
component{
property name="data" observed;
/**
* Observer for data changes. Anytime data is set, it will be called
*
* @new The new value
* @old The old value
* @property The name of the property observed
*/
function dataObserver( newValue, oldValue, property ){
// Execute after data is set
}
}Was this helpful?