@angular/core

TrackByFunction

interface

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

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