@fullcalendar/resource-daygrid
@fullcalendar/resource-daygrid
npm i @fullcalendar/resource-daygrid
@fullcalendar/resource-daygrid

@fullcalendar/resource-daygrid

Premium full-sized drag & drop calendar & scheduler in JavaScript

by fullcalendar

6.1.4 (see all)License:SEE LICENSE IN LICENSE.mdTypeScript:Built-In
npm i @fullcalendar/resource-daygrid
Readme

FullCalendar Resource Day Grid Plugin

Display events on day/resource columns

Installation

Install the necessary packages. The resource plugin is a required peer dependency:

npm install @fullcalendar/core @fullcalendar/resource @fullcalendar/resource-daygrid

Usage

Instantiate a Calendar with the necessary plugin:

import { Calendar } from '@fullcalendar/core'
import resourceDayGridPlugin from '@fullcalendar/resource-daygrid'

const calendarEl = document.getElementById('calendar')
const calendar = new Calendar(calendarEl, {
  plugins: [resourceDayGridPlugin],
  initialView: 'resourceDayGridDay',
  resources: [
    { title: 'Resource A' },
    { title: 'Resource B' }
  ]
})

calendar.render()
VersionTagPublished
6.1.4
latest
1mo ago
5.11.4
legacy
2mos ago
6.0.0-beta.4
beta
3mos ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate