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

6.1.14 • Public • Published

FullCalendar Resource Time Grid Plugin

Display events on day/resource time slots

Installation

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

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

Usage

Instantiate a Calendar with the necessary plugin:

import { Calendar } from '@fullcalendar/core'
import resourceTimeGridPlugin from '@fullcalendar/resource-timegrid'

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

calendar.render()

Package Sidebar

Install

npm i @fullcalendar/resource-timegrid

Weekly Downloads

69,924

Version

6.1.14

License

SEE LICENSE IN LICENSE.md

Unpacked Size

34.8 kB

Total Files

11

Last publish

Collaborators

  • arshaw