arrayContentWillChange (startIdx, removeAmt, addAmt) Ember.Array
public
If you are implementing an object that supports Ember.Array
, call this method just before the array content changes to notify any observers and invalidate any related properties. Pass the starting index of the change as well as a delta of the amounts to change.
Parameters:
-
startIdx
Number
- The starting index in the array that will change.
-
removeAmt
Number
- The number of items that will be removed. If you pass `null` assumes 0
-
addAmt
Number
- The number of items that will be added. If you pass `null` assumes 0.
Returns:
-
Ember.Array
- receiver
Please login to continue.