W3cubDocs

/Angular 2

IterableDiffer

Stable Interface

Interface Overview

interface IterableDiffer {
  diff(object: any) : any
  onDestroy() : any
}

Interface Description

A strategy for tracking changes over time to an iterable. Used for NgFor to respond to changes in an iterable by effecting equivalent changes in the DOM.

Interface Details

diff(object: any) : any
onDestroy() : any

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

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