Skip to content

Commit 5f50fbf

Browse files
jelbournamcdnl
authored andcommitted
docs(table): add missing table JsDoc (angular#5525)
1 parent ed11e4f commit 5f50fbf

19 files changed

+699
-761
lines changed

guides/cdk-table.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ The table provides a foundation upon which other features, such as sorting and p
66
built. Because it enforces no opinions on these matters, developers have full control over the
77
interaction patterns associated with the table.
88

9-
For a Material Design styled table, see the documentation for `<md-table>` which builds on top of
10-
the CDK data-table.
9+
For a Material Design styled table, see the
10+
[documentation for `<md-table>`](https://material.angular.io/components/table) which builds on
11+
top of the CDK data-table.
1112

1213
<!-- example(cdk-table-basic) -->
1314

@@ -117,12 +118,9 @@ sorting and pagination.
117118

118119
##### `trackBy`
119120
To improve performance, a trackBy function can be provided to the table similar to Angular’s
120-
(`ngFor` trackBy)[trackBy]. This informs the table how to uniquely identify rows to track how the
121-
data changes with each update.
121+
[`ngFor` trackBy](https://angular.io/api/common/NgForOf#change-propagation). This informs the
122+
table how to uniquely identify rows to track how the data changes with each update.
122123

123124
```html
124125
<cdk-table [dataSource]="dataSource" [trackBy]="myTrackById">
125126
```
126-
127-
128-
[trackBy][https://angular.io/api/common/NgForOf#change-propagation]

0 commit comments

Comments
 (0)