[feat]Add now indicator to fullcalendar

This commit is contained in:
Jimmy 2021-04-30 18:59:21 +08:00 committed by CactusPuppy
parent 13ec5c22d9
commit 4438b78069
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82

View file

@ -5,6 +5,7 @@ $( document ).ready(function() {
var calendar = new FullCalendar.Calendar(calendarEl, { var calendar = new FullCalendar.Calendar(calendarEl, {
schedulerLicenseKey: fullcalData.data('schedulerLicenseKey'), schedulerLicenseKey: fullcalData.data('schedulerLicenseKey'),
nowIndicator: true,
expandRows: true, expandRows: true,
allDaySlot: false, allDaySlot: false,
slotMinTime: fullcalData.data('startHour') + ':00:00', slotMinTime: fullcalData.data('startHour') + ':00:00',