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