Full
Calendar
Home
Docs
Download
Support
Contribute
Scheduler
Docs
Date Navigation
This version is in beta.
Read the release notes
edit doc
v4
v3
v2
v1
Methods and settings that determine the view’s current dates.
defaultDate
The initial date displayed when the calendar first loads.
dateIncrement
How far into the future/past the calendar navigates when prev/next is executed.
dateAlignment
Determines the first visible day of a custom view.
validRange
Limits which dates the user can navigate to and where events can go.
Methods
Calendar::prev
Moves the calendar one step back (by a month or week for example).
Calendar::next
Moves the calendar one step forward (by a month or week for example).
Calendar::prevYear
Moves the calendar back one year.
Calendar::nextYear
Moves the calendar forward one year.
Calendar::today
Moves the calendar to the current date.
Calendar::gotoDate
Moves the calendar to an arbitrary date.
Calendar::incrementDate
Moves the calendar forward/backward an arbitrary amount of time.
Calendar::getDate
Returns a Date for the current date of the calendar.
See Also
datesRender
Triggered when a new set of dates has been rendered.
datesDestroy
Triggered before the currently rendered set of dates is removed from the DOM.
Date Nav Links
Turns various datetime text into clickable links that the user can use for navigation.
Demo:
Using external buttons with date API