sass-references/angular-material/material/datepicker/year-view.html

21 lines
790 B
HTML
Raw Normal View History

2024-12-06 10:42:08 +08:00
<table class="mat-calendar-table" role="grid">
<thead aria-hidden="true" class="mat-calendar-table-header">
<tr><th class="mat-calendar-table-header-divider" colspan="4"></th></tr>
</thead>
<tbody mat-calendar-body
[label]="_yearLabel"
[rows]="_months"
[todayValue]="_todayMonth!"
[startValue]="_selectedMonth!"
[endValue]="_selectedMonth!"
[labelMinRequiredCells]="2"
[numCols]="4"
[cellAspectRatio]="4 / 7"
[activeCell]="_dateAdapter.getMonth(activeDate)"
(selectedValueChange)="_monthSelected($event)"
(activeDateChange)="_updateActiveDate($event)"
(keyup)="_handleCalendarBodyKeyup($event)"
(keydown)="_handleCalendarBodyKeydown($event)">
</tbody>
</table>