mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(datepicker): add 'multi-year' to union type for startView property (#12518)
Adds missing literal to union type. The issue pointed out that the possible value 'multi-year' is not listed on API page. Fixes #11700
This commit is contained in:
@@ -148,7 +148,7 @@ export class MatDatepicker<D> implements OnDestroy, CanColor {
|
||||
private _startAt: D | null;
|
||||
|
||||
/** The view that the calendar should start in. */
|
||||
@Input() startView: 'month' | 'year' = 'month';
|
||||
@Input() startView: 'month' | 'year' | 'multi-year' = 'month';
|
||||
|
||||
/** Color palette to use on the datepicker's calendar. */
|
||||
@Input()
|
||||
|
||||
Reference in New Issue
Block a user