Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does one go about reading the options from a fullcalendar object

Tags:

fullcalendar

I'm creating multiple fullcalendar's on a single page and i would like to write a single event render callback such that it can read the options from the fullcalendar instance that it is called from/in, things like minTime and maxTime, not sure how to do this.

like image 404
VNE_Hess Avatar asked Jan 21 '23 04:01

VNE_Hess


1 Answers

you can do something like this:

var minTime = $('#calendar').fullCalendar('option', 'minTime');

the option method isn't really documented, but it should work

like image 142
arshaw Avatar answered Apr 27 '23 04:04

arshaw