propertyName
Event fired when a property on the list changes values.
handler(event, newValue, oldValue)
Handlers registered on propertyName
events will be called
back as follows.
list.set("totalCount", 500);
list.on("totalCount", function(event, newVal, oldVal){
newVal //-> 5
oldVal //-> 500
});
list.set("totalCount", 5);
Parameters
- event
{Event}
:An event object.
- newVal
{*}
:The new value of the
propertyName
property. - oldVal
{*}
:The old value of the
propertyName
property.