compat(table): support matColumnDef input (#6388)

This commit is contained in:
Andrew Seguin
2017-08-15 14:51:21 -07:00
committed by GitHub
parent 7e11ba84f9
commit 1f80d2eda5
+5
View File
@@ -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. */