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:
Paweł
2018-08-22 16:30:22 +02:00
committed by Jeremy Elbourn
parent 765990e776
commit 6f35fdcd12
+1 -1
View File
@@ -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()