W3cubDocs

/Angular 11

IterableChangeRecord

interface

Record representing the item change information.

interface IterableChangeRecord<V> {
  currentIndex: number | null
  previousIndex: number | null
  item: V
  trackById: any
}

Properties

Property Description
currentIndex: number | null Read-Only

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

previousIndex: number | null Read-Only

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

item: V Read-Only

The item.

trackById: any Read-Only

Track by identity as computed by the TrackByFunction.

© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/core/IterableChangeRecord