TrackByFunction
An optional function passed into NgForOf
that defines how to track
items in an iterable (e.g. fby index or id)
interface TrackByFunction<T> {
(index: number, item: T): any
}
An optional function passed into NgForOf
that defines how to track
items in an iterable (e.g. fby index or id)
interface TrackByFunction<T> {
(index: number, item: T): any
}