docs(table): fix typo in addRowDef/removeRowDef (#9720)

This commit is contained in:
Andrew Seguin
2018-02-02 16:06:39 -08:00
committed by tinayuangao
parent 01f35ab1da
commit aa1cf5b9c8
+2 -2
View File
@@ -330,12 +330,12 @@ export class CdkTable<T> implements CollectionViewer, OnInit, AfterContentChecke
this._customColumnDefs.delete(columnDef);
}
/** Adds a column definition that was not included as part of the direct content children. */
/** Adds a row definition that was not included as part of the direct content children. */
addRowDef(rowDef: CdkRowDef<T>) {
this._customRowDefs.add(rowDef);
}
/** Removes a column definition that was not included as part of the direct content children. */
/** Removes a row definition that was not included as part of the direct content children. */
removeRowDef(rowDef: CdkRowDef<T>) {
this._customRowDefs.delete(rowDef);
}