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, currentIndex: number) => 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
}
方法
Iterate over all changes. | |||
参数
返回值
|
Iterate over a set of operations which when applied to the original | |||
参数
返回值
| |||
NOTE: These are not necessarily the actual operations which were applied to the original |
Iterate over changes in the order of original | |||
参数
返回值
|
Iterate over all added items. | |||
参数
返回值
|
Iterate over all moved items. | |||
参数
返回值
|
Iterate over all removed items. | |||
参数
返回值
|
Iterate over all items which had their identity (as computed by the | |||
参数
返回值
|