Credit to devdocs.io

angular 2.0_typescript

angular

TrackByFn

Stable Interface

Interface Overview

interface TrackByFn {
}

Interface Description

An optional function passed into NgFor that defines how to track items in an iterable (e.g. by index or id)

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

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