Version 7 was just released!
The docs will be moved here soon.
Visit the external v7 docs site
windowResize
Triggered after the calendar’s dimensions have been changed due to the browser window being resized.
function( arg: { view } )
The calendar has automatically adapted to the new size when windowResize is triggered.
A single object argument is given. It contains a property called view that holds the current View Object.
Within the callback function, this will be set to the calendar’s main element.
Example usage of windowResize:
var calendar = new Calendar(calendarEl, {
windowResize: function(arg) {
alert('The calendar has adjusted to a window resize. Current view: ' + arg.view.type);
}
});