DefaultIterableDiffer

Deprecated

Class

Deprecation Notes

v4.0.0 - Should not be part of public API.

Class Overview

class DefaultIterableDiffer implements IterableDiffer, IterableChanges {
constructor(_trackByFn?: TrackByFunction<V>)

V 
collection 
length : number
forEachItem(fn: (record: IterableChangeRecord_<V>) => void)
forEachOperation(fn: (item: IterableChangeRecord_<V>, previousIndex: number, currentIndex: number) => void)
forEachPreviousItem(fn: (record: IterableChangeRecord_<V>) => void)
forEachAddedItem(fn: (record: IterableChangeRecord_<V>) => void)
forEachMovedItem(fn: (record: IterableChangeRecord_<V>) => void)
forEachRemovedItem(fn: (record: IterableChangeRecord_<V>) => void)
forEachIdentityChange(fn: (record: IterableChangeRecord_<V>) => void)
diff(collection: NgIterable<V>) : DefaultIterableDiffer<V>
onDestroy()
check(collection: NgIterable<V>) : boolean
isDirty : boolean
toString() : string

}

Class Description

Constructor

constructor(_trackByFn?: TrackByFunction<V>)

Class Details

exported from core/index, defined in core/src/change_detection/differs/default_iterable_differ.ts