Skip to main content

CalendarController


Type

type CalendarController = {
goToPrevPage: (options?: ImperativeOptions) => void;
goToNextPage: (options?: ImperativeOptions) => void;
goToDatePage: (date: Date, options?: ImperativeOptions) => void;
}

Type declaration

NameTypeDescription
goToPrevPage(ImperativeOptions?) => voidNavigates to the next page in the calendar.
goToNextPage(ImperativeOptions?) => voidNavigates to the previous page in the calendar.
goToDatePage(Date, ImperativeOptions?) => voidSets the calendar to a specific page corresponding to the given date.