File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
< div class ="mat-sort-header-container "
2
2
[class.mat-sort-header-position-before] ="arrowPosition == 'before' ">
3
3
< button class ="mat-sort-header-button " type ="button "
4
- [attr.aria-label] ="_intl .sortButtonLabel(id) ">
4
+ [attr.aria-label] ="intl .sortButtonLabel(id) ">
5
5
< ng-content > </ ng-content >
6
6
</ button >
7
7
Original file line number Diff line number Diff line change 9
9
import {
10
10
ChangeDetectionStrategy ,
11
11
ChangeDetectorRef ,
12
- Component ,
12
+ Component , ElementRef ,
13
13
Input ,
14
14
Optional ,
15
15
ViewEncapsulation
@@ -84,15 +84,16 @@ export class MdSortHeader implements MdSortable {
84
84
get _id ( ) { return this . id ; }
85
85
set _id ( v : string ) { this . id = v ; }
86
86
87
- constructor ( public _intl : MdSortHeaderIntl ,
87
+ constructor ( public intl : MdSortHeaderIntl ,
88
88
changeDetectorRef : ChangeDetectorRef ,
89
+ private _elementRef : ElementRef ,
89
90
@Optional ( ) public _sort : MdSort ,
90
91
@Optional ( ) public _cdkColumnDef : CdkColumnDef ) {
91
92
if ( ! _sort ) {
92
93
throw getMdSortHeaderNotContainedWithinMdSortError ( ) ;
93
94
}
94
95
95
- this . _rerenderSubscription = merge ( _sort . mdSortChange , _intl . changes ) . subscribe ( ( ) => {
96
+ this . _rerenderSubscription = merge ( _sort . mdSortChange , intl . changes ) . subscribe ( ( ) => {
96
97
changeDetectorRef . markForCheck ( ) ;
97
98
} ) ;
98
99
}
You can’t perform that action at this time.
0 commit comments