@angular/core

TrackByFunction

interface

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

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