W3cubDocs

/Angular 4 TypeScript

TrackByFunction

Stable Interface

Interface Overview

interface TrackByFunction {
}

Interface Description

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

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/TrackByFunction-interface.html