mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
compat(sort): add mat-compat inputs (#6172)
This commit is contained in:
committed by
tinayuangao
parent
735ffb5f4a
commit
a1855814d0
@@ -51,6 +51,26 @@ export class MdSort {
|
||||
set disableClear(v) { this._disableClear = coerceBooleanProperty(v); }
|
||||
private _disableClear: boolean;
|
||||
|
||||
// Properties with `mat-` prefix for noconflict mode.
|
||||
@Input('matSortActive')
|
||||
get _matSortActive() { return this.active; }
|
||||
set _matSortActive(v) { this.active = v; }
|
||||
|
||||
// Properties with `mat-` prefix for noconflict mode.
|
||||
@Input('matSortStart')
|
||||
get _matSortStart() { return this.start; }
|
||||
set _matSortStart(v) { this.start = v; }
|
||||
|
||||
// Properties with `mat-` prefix for noconflict mode.
|
||||
@Input('matSortDirection')
|
||||
get _matSortDirection() { return this.direction; }
|
||||
set _matSortDirection(v) { this.direction = v; }
|
||||
|
||||
// Properties with `mat-` prefix for noconflict mode.
|
||||
@Input('matSortDisableClear')
|
||||
get _matSortDisableClear() { return this.disableClear; }
|
||||
set _matSortDisableClear(v) { this.disableClear = v; }
|
||||
|
||||
/** Event emitted when the user changes either the active sort or sort direction. */
|
||||
@Output() mdSortChange = new EventEmitter<Sort>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user