Array#arrayContentWillChange()

arrayContentWillChange (startIdx, removeAmt, addAmt) Ember.Arraypublic

Defined in packages/ember-runtime/lib/mixins/array.js:517

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
doc_EmberJs
2016-11-30 16:48:33
Comments
Leave a Comment

Please login to continue.