TrackByFunction
interface
A function optionally passed into the NgForOf directive to customize how NgForOf uniquely
identifies items in an iterable.
API
Description
interface TrackByFunction<T> { <U extends T>(index: number, item: T & U): any;}
any@paramindex
numberThe index of the item within the iterable.
@paramitem
T & UThe item in the iterable.
@returns
anyJump to details

