将完整日历中的分日计划分为15分钟

时间:2016-03-14 01:10:44

标签: javascript php split fullcalendar

$('#calendar').fullCalendar({
      header: {
        left: 'prev,next today',
        center: 'title',
        right: 'month,agendaWeek,agendaDay'
      },
      buttonText: {
        today: 'today',
        month: 'month',
        week: 'week',
        day: 'day'
      },
      //Random default events
      events : <?php echo json_encode($events1);?>,

      editable: true,
      droppable: true, // this allows things to be dropped onto the calendar !!!
      drop: function (date, allDay) { // this function is called when something is dropped

我需要分成15分钟的时间间隔。默认是30分钟的时间段。我可以实现它,提前谢谢你

1 个答案:

答案 0 :(得分:1)

我认为您正在寻找slotDurationhttp://fullcalendar.io/docs/agenda/slotDuration/

相关问题