@ezitlab/timeline4
TypeScript icon, indicating that this package has built-in type declarations

6.1.15 • Public • Published

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

Package Sidebar

Install

npm i @ezitlab/timeline4

Weekly Downloads

8

Version

6.1.15

License

SEE LICENSE IN LICENSE.md

Unpacked Size

184 kB

Total Files

11

Last publish

Collaborators

  • raihaniabd