Back to Fullcalendar

getView

_docs-v1/view-api/getView.md

latest375 B
Original Source

Returns the View Object for the current view.

<div class='spec' markdown='1'> .fullCalendar( 'getView' ) -> [View Object](view-object) </div>

This is useful if you want to get information about the calendar’s title or start/end dates.

Example Usage:

js
var view = $('#calendar').fullCalendar('getView');
alert("The view's title is " + view.title);