add
Event fired when items are added to the list.
handler(event, added, index)
Handlers registered with can-event-queue/map/map methods on list
will be called back when
items are added to a list.
list.on("add", function(event, added, index){ ... });
Parameters
- event
{Event}
:An event object.
- added
{Array}
:An array of the items added to the list.
- index
{Number}
:The location where the items were added.