From 522e4ea898568288999cbd517287c7dc3f881fb7 Mon Sep 17 00:00:00 2001 From: Judy Bogart Date: Wed, 16 Jan 2019 14:40:03 -0800 Subject: [PATCH] docs: add doc for TrackByFunction (#27377) PR Close #27377 --- .../core/src/change_detection/differs/iterable_differs.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/core/src/change_detection/differs/iterable_differs.ts b/packages/core/src/change_detection/differs/iterable_differs.ts index 8166bc4746..6e9f90c06f 100644 --- a/packages/core/src/change_detection/differs/iterable_differs.ts +++ b/packages/core/src/change_detection/differs/iterable_differs.ts @@ -119,10 +119,8 @@ export interface CollectionChangeRecord extends IterableChangeRecord {} /** * An optional function passed into the `NgForOf` directive that defines how to track * changes for items in an iterable. + * The function takes the iteration index and item ID. * When supplied, Angular tracks changes by the return value of the function. - * @param index The iteration index. - * @param item The item ID. - * @return The value to use for tracking changes. * * @publicApi */