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

doc_Angular
2016-10-06 09:46:24
Comments
Leave a Comment

Please login to continue.