IterableChanges
An object describing the changes in the Iterable
collection since last time
IterableDiffer#diff()
was invoked.
interface IterableChanges<V> {
forEachItem(fn: (record: IterableChangeRecord<V>) => void): void
forEachOperation(fn: (record: IterableChangeRecord<V>, previousIndex: number | null, currentIndex: number | null) => void): void
forEachPreviousItem(fn: (record: IterableChangeRecord<V>) => void): void
forEachAddedItem(fn: (record: IterableChangeRecord<V>) => void): void
forEachMovedItem(fn: (record: IterableChangeRecord<V>) => void): void
forEachRemovedItem(fn: (record: IterableChangeRecord<V>) => void): void
forEachIdentityChange(fn: (record: IterableChangeRecord<V>) => void): void
}
Class implementations
Methods
Iterate over all changes. |
||
Parameters
Returns
|
Iterate over a set of operations which when applied to the original |
||
Parameters
Returns
|
||
NOTE: These are not necessarily the actual operations which were applied to the original
|
Iterate over changes in the order of original |
||
Parameters
Returns
|
Iterate over all added items. |
||
Parameters
Returns
|
Iterate over all moved items. |
||
Parameters
Returns
|
Iterate over all removed items. |
||
Parameters
Returns
|
Iterate over all items which had their identity (as computed by the |
||
Parameters
Returns
|