mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(table): fix typo in addRowDef/removeRowDef (#9720)
This commit is contained in:
committed by
tinayuangao
parent
01f35ab1da
commit
aa1cf5b9c8
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user