Back to Fullcalendar

buttonText

_docs-v1/toolbar/buttonText.md

latest532 B
Original Source

Text that will be displayed on buttons of the header.

<div class='spec' markdown='1'> Object, *default*:
js
{
  prev:     '&lsaquo;', // <
  next:     '&rsaquo;', // >
  prevYear: '&laquo;',  // <<
  nextYear: '&raquo;',  // >>
  today:    'today',
  month:    'month',
  week:     'week',
  day:      'day'
}
</div>

If you wanted to change the prev/next buttons to use < and > characters, here is what you would do:

js
$('#calendar').fullCalendar({
  buttonText: {
    prev: '&lt;',
    next: '&gt;'
  }
});