File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 14
14
}
15
15
16
16
<!-- Create the first row separately so we can include a special spacer cell. -->
17
- @for (row of rows; track row ; let rowIndex = $index) {
17
+ @for (row of rows; track rowIndex ; let rowIndex = $index) {
18
18
< tr role ="row ">
19
19
<!--
20
20
This cell is purely decorative, but we can't put `aria-hidden` or `role="presentation"` on it,
36
36
cell is interactable, as well as the selection state via `aria-pressed`. See #23476 for
37
37
background.
38
38
-->
39
- @for (item of row; track item ; let colIndex = $index) {
39
+ @for (item of row; track colIndex ; let colIndex = $index) {
40
40
< td
41
41
role ="gridcell "
42
42
class ="mat-calendar-body-cell-container "
Original file line number Diff line number Diff line change 1
1
< table class ="mat-calendar-table " role ="grid ">
2
2
< thead class ="mat-calendar-table-header ">
3
3
< tr >
4
- @for (day of _weekdays; track day ) {
4
+ @for (day of _weekdays; track $index ) {
5
5
< th scope ="col ">
6
6
< span class ="cdk-visually-hidden "> {{day.long}}</ span >
7
7
< span aria-hidden ="true "> {{day.narrow}}</ span >
You can’t perform that action at this time.
0 commit comments