@fullcalendar/daygrid
TypeScript icon, indicating that this package has built-in type declarations

6.1.13 • Public • Published

FullCalendar Day Grid Plugin

Display events on a month view or "day grid" view

Installation

Install the necessary packages:

npm install @fullcalendar/core @fullcalendar/daygrid

Usage

Instantiate a Calendar with the necessary plugin:

import { Calendar } from '@fullcalendar/core'
import dayGridPlugin from '@fullcalendar/daygrid'

const calendarEl = document.getElementById('calendar')
const calendar = new Calendar(calendarEl, {
  plugins: [dayGridPlugin],
  initialView: 'dayGridMonth',
  events: [
    { title: 'Meeting', start: new Date() }
  ]
})

calendar.render()

Package Sidebar

Install

npm i @fullcalendar/daygrid

Weekly Downloads

638,033

Version

6.1.13

License

MIT

Unpacked Size

202 kB

Total Files

11

Last publish

Collaborators

  • arshaw