|
|
před 10 měsíci | |
|---|---|---|
| .. | ||
| src | před 2 roky | |
| .eslintrc.cjs | před 1 rokem | |
| README.md | před 3 roky | |
| package.json | před 10 měsíci | |
Display events on a calendar view that looks like a bulleted list
Install the necessary packages:
npm install @fullcalendar/core @fullcalendar/list
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()