npm.io
6.1.22 • Published 3 weeks ago

@fullcalendar/list

Licence
MIT
Version
6.1.22
Deps
0
Size
67 kB
Vulns
0
Weekly
0
Stars
20.7K

FullCalendar List View Plugin

This package is for FullCalendar v6. The current version is v7, where @fullcalendar/list is no longer a separate package. With v7, don't install @fullcalendar/list or @fullcalendar/core, and don't downgrade to v6: import the plugin from your framework's v7 package instead, e.g. import listPlugin from '@fullcalendar/react/list'. See the upgrade guide.

Display events on a calendar view that looks like a bulleted list

Installation

Install the necessary packages:

npm install @fullcalendar/core @fullcalendar/list

Usage

Instantiate a Calendar with the necessary plugin:

import { Calendar } from '@fullcalendar/core'
import listPlugin from '@fullcalendar/list'

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

calendar.render()

Keywords