Find Similar Packages for @fullcalendar/timegrid
1 Year
@fullcalendar/timegridSimilar Packages:
Package Weekly Downloads Trend
Stat Detail
Package
Downloads
Stars
Size
Issues
Publish
License
@fullcalendar/timegrid618,58618,981237 kB1,0337 months agoMIT
README for @fullcalendar/timegrid

FullCalendar Time Grid Plugin

Display events on time slots

Installation

Install the necessary packages:

npm install @fullcalendar/core @fullcalendar/timegrid

Usage

Instantiate a Calendar with the necessary plugin:

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