mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
compat(table): support matColumnDef input (#6388)
This commit is contained in:
@@ -53,6 +53,11 @@ export class MdHeaderCellDef extends _MdHeaderCellDef { }
|
||||
export class MdColumnDef extends _MdColumnDef {
|
||||
/** Unique name for this column. */
|
||||
@Input('mdColumnDef') name: string;
|
||||
|
||||
// Properties with `mat-` prefix for noconflict mode.
|
||||
@Input('matColumnDef')
|
||||
get _matColumnDefName() { return this.name; }
|
||||
set _matColumnDefName(name) { this.name = name; }
|
||||
}
|
||||
|
||||
/** Header cell template container that adds the right classes and role. */
|
||||
|
||||
Reference in New Issue
Block a user