W3cubDocs

/Angular 4 TypeScript

IterableChangeRecord

Stable Interface

Interface Overview

interface IterableChangeRecord {
  V 
  currentIndex : number
  previousIndex : number
  item : V
  trackById : any
}

Interface Description

Record representing the item change information.

Interface Details

V
currentIndex : number

Current index of the item in Iterable or null if removed.

previousIndex : number

Previous index of the item in Iterable or null if added.

item : V

The item.

trackById : any

Track by identity as computed by the trackByFn.

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

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