@fullcalendar/resource-timeline

Display events and resources on a horizontal time axis

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@fullcalendar/resource-timeline
68376.1.52 days ago4 years agoMinified + gzip package size for @fullcalendar/resource-timeline in KB

Readme

FullCalendar Resource Timeline Plugin
Display events and resources on a horizontal time axis

Installation

Install the necessary packages. The resource plugin is a required peer dependency:
npm install @fullcalendar/core @fullcalendar/resource @fullcalendar/resource-timeline

Usage

Instantiate a Calendar with the necessary plugin:
import { Calendar } from '@fullcalendar/core'
import resourceTimelinePlugin from '@fullcalendar/resource-timeline'

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

calendar.render()