fullcalendar.min.js中关于allDay的代码
时间: 2023-10-02 21:09:55 浏览: 195
fullcalendar.min.js
5星 · 资源好评率100%
以下是fullcalendar.min.js中与allDay相关的代码:
```javascript
allDayDefault:{},eventAllDayDefault:{},allDayHtml:"",slotDuration:"00:30:00",slotEventOverlap:!0,timeFormat:{agenda:"h:mm{ - h:mm}",'':'h(:mm)t'},axisFormat:"h(:mm)tt",defaultTimedEventDuration:"02:00:00",defaultAllDayEventDuration:{},forceEventDuration:!1,allDaySlot:!0,allDayText:"all-day",allDayMaintainDuration:!1,slotMinutes:30,slotLabelFormat:"h(:mm)a",slotLabelInterval:null, snapMinutes:30,scrollTime:"06:00:00",minTime:"00:00:00",maxTime:"24:00:00",slotEventOverlap:!0,disableResizing:!1,disableDragging:!1,dragOpacity:{},dragRevertDuration:500,dragScroll:!0,unselectAuto:!0,theme:!1,buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",today:"today",month:"month",week:"week",day:"day"},header:{left:"title",center:"",right:"today prev,next"},footer:{left:"prev,next today",center:"",right:""},dropAccept:{},eventDropAccept:{},dragStart:function(){},dragStop:function(){},defaultEventMinutes:120,defaultEventLength:{},eventClick:function(){},eventMouseover:function(){},eventMouseout:function(){},eventDragStart:function(){},eventDragStop:function(){},editable:!1,eventLimit:!1},k=C.extend({},j);k.timezone&&(k.timezone="UTC"!=k.timezone&&k.timezone?new Date().getTimezoneOffset():null);var l=null,m=new h(this,k);return b.data("fullCalendar",m),m}
```
需要注意的是,这段代码是经过压缩的,可读性较差。如果您需要了解更多关于allDay的具体用法,可以参考fullcalendar.js源代码。
阅读全文