包详细信息

fullcalendar-scheduler

fullcalendar52.1kSEE LICENSE IN LICENSE.md6.1.17

Easily render a full-sized drag & drop calendar with a combination of standard & premium plugins

calendar, event, full-sized, fullcalendar

自述文件

FullCalendar Premium Bundle

Easily render a full-sized drag & drop calendar with a combination of standard & premium plugins

This fullcalendar-scheduler package bundles these plugins:

Usage with CDN or ZIP archive

Load the index.global.min.js file and use the FullCalendar global namespace:

<!DOCTYPE html>
<html>
  <head>
    <script src='https://cdn.jsdelivr.net/npm/fullcalendar-scheduler/index.global.min.js'></script>
    <script>

      document.addEventListener('DOMContentLoaded', function() {
        const calendarEl = document.getElementById('calendar')
        const calendar = new FullCalendar.Calendar(calendarEl, {
          initialView: 'resourceTimelineMonth'
        })
        calendar.render()
      })

    </script>
  </head>
  <body>
    <div id='calendar'></div>
  </body>
</html>

Usage with NPM and ES modules

npm install fullcalendar-scheduler
import { Calendar } from 'fullcalendar-scheduler'

document.addEventListener('DOMContentLoaded', function() {
  const calendarEl = document.getElementById('calendar')
  const calendar = new Calendar(calendarEl, {
    initialView: 'resourceTimelineMonth'
  })
  calendar.render()
})