IterableChangeRecord

interface

npm Package @angular/core
Module import { IterableChangeRecord } from '@angular/core';
Source core/src/change_detection/differs/iterable_differs.ts

Interface Overview

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

Description

Record representing the item change information.

Child Interfaces

  • CollectionChangeRecord

Members

get currentIndex: number|null

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

get previousIndex: number|null

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

get item: V

The item.

get trackById: any

Track by identity as computed by the trackByFn.

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