A full interactive Calendar UI built for Vanilla JS or use in other frontend frameworks.

#javascript #js #vanillajs #ui #frontend #webdev #website #html #css #jquery

arshaw 09a38edcdd meta:update 1 jaar geleden
.github ae830fe231 ensure ci uses node 20 1 jaar geleden
.vscode fa1b3dc222 manually copy certain meta files 3 jaren geleden
bundle 70fa10a67c RELEASING: Releasing 33 package(s) 1 jaar geleden
packages 70fa10a67c RELEASING: Releasing 33 package(s) 1 jaar geleden
scripts 451a884fd9 refactor: new CI and subrepo system 1 jaar geleden
tests 70fa10a67c RELEASING: Releasing 33 package(s) 1 jaar geleden
.editorconfig e0f3f59f10 update meta 3 jaren geleden
.gitignore 60c2ff8006 update gitignore 3 jaren geleden
.npmrc eb85b874b8 meta:update 1 jaar geleden
CHANGELOG.md 9303169961 changelog [skip ci] 1 jaar geleden
CONTRIBUTING.md 8c93f35738 updated readmes 3 jaren geleden
LICENSE.md 9033e07a3d copying of readme/license 3 jaren geleden
README.md 476cc659b1 more markdown cleanup 1 jaar geleden
package.json 3ed003b013 sync versions 1 jaar geleden
pnpm-lock.yaml 4bc50ac7e9 meta:update 1 jaar geleden
pnpm-workspace.yaml ed3c13615b make workspace-scripts relocation work 3 jaren geleden
turbo.json a397c3b51d update turbo 3 jaren geleden

README.md

FullCalendar

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 files
  • dev - build & watch development dist files
  • test - test headlessly
  • test:dev - test interactively
  • lint
  • clean

Info about contributing code »