6.1.17 • Published 5 months ago

@get-it-calendar/timeline v6.1.17

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

FullCalendar Timeline Plugin

Display events on a horizontal time axis (without resources)

Installation

Install the necessary packages:

npm install @fullcalendar/core @fullcalendar/timeline

Usage

Instantiate a Calendar with the necessary plugin:

import { Calendar } from '@fullcalendar/core'
import timelinePlugin from '@fullcalendar/timeline'

const calendarEl = document.getElementById('calendar')
const calendar = new Calendar(calendarEl, {
  plugins: [timelinePlugin],
  initialView: 'timelineWeek',
  events: [
    { title: 'Meeting', start: new Date() }
  ]
})

calendar.render()