Array#arrayContentDidChange()

arrayContentDidChange (startIdx, removeAmt, addAmt) Ember.Arraypublic

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

If you are implementing an object that supports Ember.Array, call this method just after 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 did change.
removeAmt Number
The number of items that were removed. If you pass `null` assumes 0
addAmt Number
The number of items that were 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.