2015年6月16日 星期二

Fullcalendar 常用到的參數分享


相關的說明都可以在官網文件找的到 FullCalendar Documentation
目前有用到的參數如下:

//表頭的顯示,依照需求可以作訂定
 header: {
                left: 'prev,next today',
                center: 'title',
                right: 'month,agendaWeek,agendaDay'
            },

defaultDate: new Date() //一開始的啟始日期,都會一般用 new Date當天日期
         
businessHours: false // 是否顯示工作區間,預設是6:00~ 10:00, 也可以制定
         
eventLimit: true //  如果有太多事件 (event)在同一天在 View month,可以用 more來代表

 //View 是 week or day時,畫面啟始時間會移到所指定的 scrollTime
scrollTime: 'HH;mm:ss'

沒有留言:

張貼留言