FIN INIT
This commit is contained in:
32
node_modules/@fullcalendar/timegrid/README.md
generated
vendored
Normal file
32
node_modules/@fullcalendar/timegrid/README.md
generated
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
|
||||
# FullCalendar Time Grid Plugin
|
||||
|
||||
Display events on time slots
|
||||
|
||||
## Installation
|
||||
|
||||
Install the necessary packages:
|
||||
|
||||
```sh
|
||||
npm install @fullcalendar/core @fullcalendar/timegrid
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Instantiate a Calendar with the necessary plugin:
|
||||
|
||||
```js
|
||||
import { Calendar } from '@fullcalendar/core'
|
||||
import timeGridPlugin from '@fullcalendar/timegrid'
|
||||
|
||||
const calendarEl = document.getElementById('calendar')
|
||||
const calendar = new Calendar(calendarEl, {
|
||||
plugins: [timeGridPlugin],
|
||||
initialView: 'timeGridWeek',
|
||||
events: [
|
||||
{ title: 'Meeting', start: new Date() }
|
||||
]
|
||||
})
|
||||
|
||||
calendar.render()
|
||||
```
|
Reference in New Issue
Block a user