fullcalendar / fullcalendar
Full-sized drag & drop event calendar
Installs: 350 857
Dependents: 7
Suggesters: 0
Security: 0
Stars: 16 415
Watchers: 453
Forks: 3 518
Open Issues: 857
Language:TypeScript
Type:component
Requires
This package is not auto-updated.
Last update: 2023-05-23 12:14:22 UTC
README
Full-sized drag & drop calendar in JavaScript
Connectors:
Bundle
The FullCalendar Standard Bundle is easier to install than individual plugins, though filesize will be larger. It works well with a CDN.
Installation
Install the FullCalendar core package and any plugins you plan to use:
npm install @fullcalendar/core @fullcalendar/interaction @fullcalendar/daygrid
Usage
Instantiate a Calendar with plugins and options:
import { Calendar } from '@fullcalendar/core' import interactionPlugin from '@fullcalendar/interaction' import dayGridPlugin from '@fullcalendar/daygrid' const calendarEl = document.getElementById('calendar') const calendar = new Calendar(calendarEl, { plugins: [ interactionPlugin, dayGridPlugin ], initialView: 'timeGridWeek', editable: true, events: [ { title: 'Meeting', start: new Date() } ] }) calendar.render()
Development
You must install this repo with PNPM:
pnpm install
Available scripts (via pnpm run <script>
):
build
- build production-ready dist filesdev
- build & watch development dist filestest
- test headlesslytest:dev
- test interactivelylint
clean