Legacy docs (v1–v6)
These docs are for an old release. View the v7 docs
edit doc view .md

header

Defines the buttons and title at the top of the calendar.

Object/false, default:

{
  left:   'title',
  center: '',
  right:  'today prev,next'
}

Setting the header options to false will display no header. An object can be supplied with properties left, center, and right. These properties contain strings with comma/space separated values. Values separated by a comma will be displayed adjacently. Values separated by a space will be displayed with a small gap in between. Strings can contain any of the following values:

title
text containing the current month/week/day
prev
button for moving the calendar back one month/week/day
next
button for moving the calendar forward one month/week/day
prevYear
button for moving the calendar back on year
nextYear
button for moving the calendar forward one year
today
button for moving the calendar to the current month/week/day
a view name
button that will switch the calendar to any of the available views

Specifying an empty string for a property will cause it display no text/buttons.