json Fullcalendar.io

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json Fullcalendar.io相关的知识,希望对你有一定的参考价值。

{ "calendarEvents": [
    {
      "title": "Event 1",
      "start": "2018-02-01",
      "end": "2018-02-03",
      "type": 1,
      "classname": "type1",
      "url": "/Tracking/Details?ipda=1290318",
      "description": "This is a cool event"
    },
    {
      "title": "All Day Event",
      "start": "2018-02-01",
      "type": 1
    },
    {
      "title": "Long Event",
      "start": "2018-02-07",
      "end": "2018-02-10",
      "type": 2
    },
    {
      "id": 999,
      "title": "Repeating Event",
      "start": "2018-02-09T16:00:00-05:00",
      "type": 3
    },
    {
      "id": 999,
      "title": "Repeating Event",
      "start": "2018-02-16T16:00:00-05:00",
      "type": 3
    },
    {
      "title": "Conference",
      "start": "2018-02-11",
      "end": "2018-02-13",
      "type": 1
    },
    {
      "title": "Meeting",
      "start": "2018-02-12T10:30:00-05:00",
      "end": "2018-02-12T12:30:00-05:00",
      "type": 1
    },
    {
      "title": "Lunch",
      "start": "2018-02-12T12:00:00",
      "type": 2
    },
    {
      "title": "Meeting",
      "start": "2018-02-12T14:30:00",
      "type": 4
    },
    {
      "title": "Happy Hour",
      "start": "2018-02-12T17:30:00",
      "type": 5
    },
    {
      "title": "Dinner",
      "start": "2018-02-12T20:00:00",
      "type": 6
    }
  ]
}

以上是关于json Fullcalendar.io的主要内容,如果未能解决你的问题,请参考以下文章

FullCalendar和jquery-confirm应用

对 fullcalendar.io 使用普通的 PHP 路由 (&) 和 symfony 路由 (/)

加载 fullcalendar.io 事件时出错 - 未显示数据

js非常强大的日历控件fullcalendar.js, 日期时间库: moment.js

Fullcalendar.io在将事件属性解析为函数时出现问题

fullCalendar使用经验总结