Skip to content

Commit d11c562

Browse files
committed
change comment
1 parent c6f3ab2 commit d11c562

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib/core/data-table/data-table.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ export class CdkTable<T> implements CollectionViewer {
104104
private _dataDiffer: IterableDiffer<T>;
105105

106106
/**
107-
* Tracking function that will be used to check the differences in data changes.
107+
* Tracking function that will be used to check the differences in data changes. Used similarly
108+
* to ngFor trackBy function. Optimize row operations by identifying a row based on its data
109+
* relative to the function to know if a row should be added/removed/moved.
108110
* Accepts a function that takes two parameters, `index` and `item`.
109111
*/
110112
@Input()

0 commit comments

Comments
 (0)