I have a question about fullcalendar v5.3.2 and its options.
I have following set up.
var calendarEl = document.getElementById('calendar');
var calendar = new FullCalendar.Calendar(calendarEl, {
initialView: 'dayGridMonth',
locale: 'ja',
themeSystem: 'bootstrap4',
height: 700,
events: '/api/user/calendar/'+<?= $user->id?>+'<?= date("/Y/m")?>',
});
I am trying to change events url and refresh the calendar when clicking the next,previous and today button. This is because I want to fetch events monthly.
Is that possible to do it?
Best regards,
I could set events url like following.
The full source code is as following.