Package detail

fullcalendar

fullcalendar631.6kMIT6.1.17

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

calendar, event, full-sized, fullcalendar

readme

FullCalendar Standard Bundle

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

This fullcalendar 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/index.global.min.js'></script>
    <script>

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

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

Usage with NPM and ES modules

npm install fullcalendar
import { Calendar } from 'fullcalendar'

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