Introduce new param for changeView

This commit is contained in:
Nam Nguyen Thanh
2017-12-01 16:46:01 +07:00
parent b4855506d3
commit d4efe01e5c
+1 -1
View File
@@ -995,7 +995,7 @@ declare global {
/**
* Immediately switches to a different view.
*/
fullCalendar(method: 'changeView', viewName: string): void;
fullCalendar(method: 'changeView', viewName: string, dateOrRange: moment.Moment | Date | string | TimeRange): void;
/**
* Moves the calendar one step back (either by a month, week, or day).