@angular/core

TrackByFunction

interface

A function optionally passed into the NgForOf directive to customize how NgForOf uniquely identifies items in an iterable.

  
    interface TrackByFunction<T> {  <U extends T>(index: number, item: T & U): any;}
  
  
Jump to details