javascript - 将完整日历中的日议程分成 15 分钟的时段

标签 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分钟的slots。我怎样才能实现提前谢谢你

最佳答案

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

关于javascript - 将完整日历中的日议程分成 15 分钟的时段,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35978003/

相关文章:

php - 如何在 Symfony 2.8 中生成随机字符串?

php - MySQL选择特定列

xcode4 - 如何关闭拆分窗口/相邻编辑器 - Xcode 4

javascript - 将 redux 存储保存到本地存储 - 使用 lit-element

javascript - 从输入中获取整数值并动态生成输入

php - ajax 请求的响应在我的本地环境和我的实时服务器上是不同的

java - 我应该为每隔一条线使用什么分离器?

r - 使用 R,strsplit 如何在要拆分的字符串末尾使用拆分器处理固定元素?

javascript - 第二个间隔值生成后如何清除第一个间隔值

DOM 元素上的 JavaScript LTR/RTL 检测