IterableChangeRecord

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部