File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
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
12
12
< div class ="mat-sort-header-pointer-left "> </ div >
13
13
< div class ="mat-sort-header-pointer-right "> </ div >
14
14
</ div >
15
- </ div >
15
+ </ div >
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ 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
89
private _elementRef : ElementRef ,
90
90
@Optional ( ) public _sort : MdSort ,
@@ -93,7 +93,7 @@ export class MdSortHeader implements MdSortable {
93
93
throw getMdSortHeaderNotContainedWithinMdSortError ( ) ;
94
94
}
95
95
96
- this . _rerenderSubscription = merge ( _sort . mdSortChange , intl . changes ) . subscribe ( ( ) => {
96
+ this . _rerenderSubscription = merge ( _sort . mdSortChange , _intl . changes ) . subscribe ( ( ) => {
97
97
changeDetectorRef . markForCheck ( ) ;
98
98
} ) ;
99
99
}
@@ -117,7 +117,7 @@ export class MdSortHeader implements MdSortable {
117
117
}
118
118
119
119
/**
120
- * Returns the aria-sort attribute that should be applied to this sort header. If this header
120
+ * Gets the aria-sort attribute that should be applied to this sort header. If this header
121
121
* is not sorted, returns null so that the attribute is removed from the host element. Aria spec
122
122
* says that the aria-sort property should only be present on one header at a time, so removing
123
123
* ensures this is true.
You can’t perform that action at this time.
0 commit comments