Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@fullcalendar/resource-timeline

fullcalendar472.1kSEE LICENSE IN LICENSE.md6.1.17TypeScript support: included

Display events and resources on a horizontal time axis

calendar, event, full-sized, fullcalendar, scheduler, resource, scheduler, resource, timeline

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()