Back to Fullcalendar

prev

_docs-v3/date-navigation/prev.md

latest599 B
Original Source

Moves the calendar one step back (by a month or week for example).

<div class='spec' markdown='1'> .fullCalendar( 'prev' ) </div>

If the calendar is in month view, will move the calendar back one month.

If the calendar is in basicWeek or agendaWeek, will move the calendar back one week.

If the calendar is in basicDay or agendaDay, will move the calendar back one day.

Example using prev with an external button:

js
$('#my-prev-button').click(function() {
  $('#calendar').fullCalendar('prev');
});

View a demo that uses the prev and next methods.