• Overview
@angular/core

IterableChanges

interface

An object describing the changes in the Iterable collection since last time IterableDiffer#diff() was invoked.

  
    interface IterableChanges<V> {}
  
  

forEachItem

void

Iterate over all changes. IterableChangeRecord will contain information about changes to each item.

@paramfn(record: IterableChangeRecord<V>) => void
@returnsvoid

forEachOperation

void

Iterate over a set of operations which when applied to the original Iterable will produce the new Iterable.

NOTE: These are not necessarily the actual operations which were applied to the original Iterable, rather these are a set of computed operations which may not be the same as the ones applied.

@paramfn(record: IterableChangeRecord<V>, previousIndex: number | null, currentIndex: number | null) => void
@returnsvoid

forEachPreviousItem

void

Iterate over changes in the order of original Iterable showing where the original items have moved.

@paramfn(record: IterableChangeRecord<V>) => void
@returnsvoid

forEachAddedItem

void

Iterate over all added items.

@paramfn(record: IterableChangeRecord<V>) => void
@returnsvoid

forEachMovedItem

void

Iterate over all moved items.

@paramfn(record: IterableChangeRecord<V>) => void
@returnsvoid

forEachRemovedItem

void

Iterate over all removed items.

@paramfn(record: IterableChangeRecord<V>) => void
@returnsvoid

forEachIdentityChange

void

Iterate over all items which had their identity (as computed by the TrackByFunction) changed.

@paramfn(record: IterableChangeRecord<V>) => void
@returnsvoid
Jump to details