Credit to devdocs.io

angular 2.0_typescript

angular

DefaultIterableDiffer

Stable Class

Class Overview

class DefaultIterableDiffer {
  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

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

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

© 2010–2016 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/docs/ts/latest/api/core/index/DefaultIterableDiffer-class.html