DefaultIterableDiffer

Stable

Class

Class Overview

class DefaultIterableDiffer implements IterableDiffer {
constructor(_trackByFn?: TrackByFn)

collection 
length : number
forEachItem(fn: Function)
forEachOperation(fn: (item: CollectionChangeRecord, previousIndex: number, currentIndex: number) => void)
forEachPreviousItem(fn: Function)
forEachAddedItem(fn: Function)
forEachMovedItem(fn: Function)
forEachRemovedItem(fn: Function)
forEachIdentityChange(fn: Function)
diff(collection: any) : DefaultIterableDiffer
onDestroy()
check(collection: any) : boolean
isDirty : boolean
toString() : string

}

Class Description

Constructor

constructor(_trackByFn?: TrackByFn)

Class Details

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