can.updateValues
Add and remove multiple values at once.
@@can.updateValues( index, removing, adding )
The @@can.updateValues
symbol points to a function that can add
and remove multiple items at once. It's similar to splice, but
is passed an array of items to remove instead of how many items to
be removed.
Parameters
- index
{Number}
: - removing
{Array}
:An array of the items to remove.
- adding
{Array}
:An Array of the items to add.