开发者

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

开发者 https://www.devze.com 2023-01-23 09:18 出处:网络
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

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.


you can do something like this:

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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消