laravel-fullcalendar
laravel-fullcalendar copied to clipboard
How can I set html id of calendar
How can I set html id of calendar, not event. So, I can access the calendar in javascript via #calendar selector. I want to access it so I can call the $('#calendar').fullCalendar('render'); in javascript.
I have the same question.
It does get a unique, constant class of "fc" so there's that. As for the ID, it seems to be dynamically assigned, e.g. #calendar**-reFWTY7b**". Can we provide our own ID instead, for convenience?
If you look at the Calendar.php implementation, it does provide
public function getId()
I hope this helps.