Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewseguin committed Jan 30, 2018
1 parent 018735f commit 701d6b7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/cdk/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,9 @@ export class CdkTable<T> implements CollectionViewer, OnInit, AfterContentChecke
* Checks for differences in the data since the last diff to perform only the necessary
* changes (add/remove/move rows).
*
* If the table's data source is a DataSource or Observable, this will be invoked each time the
* provided Observable stream emits a new data array. Otherwise if your data is being set
* directly, you will need to call this function whenever data in the provided array is
* added/removed/moved in-place.
* If the table's data source is a DataSource or Observable, this will be invoked automatically
* each time the provided Observable stream emits a new data array. Otherwise if your data is
* an array, this function will need to be called to render any changes.
*/
renderRows() {
const changes = this._dataDiffer.diff(this._data);
Expand Down

0 comments on commit 701d6b7

Please sign in to comment.