@fullcalendar/google-calendar
TypeScript icon, indicating that this package has built-in type declarations

6.1.11 • Public • Published

FullCalendar Google Calendar Plugin

Display events from a public Google Calendar feed

Installation

Install the FullCalendar core package, the Google Calendar plugin, and any other plugins (like daygrid):

npm install @fullcalendar/core @fullcalendar/google-calendar @fullcalendar/daygrid

Usage

Instantiate a Calendar with the necessary plugin:

import { Calendar } from '@fullcalendar/core'
import googleCalendarPlugin from '@fullcalendar/google-calendar'
import dayGridPlugin from '@fullcalendar/daygrid'

const calendarEl = document.getElementById('calendar')
const calendar = new Calendar(calendarEl, {
  plugins: [
    googleCalendarPlugin,
    dayGridPlugin
  ],
  initialView: 'dayGridMonth',
  events: {
    googleCalendarId: 'abcd1234@group.calendar.google.com'
  }
})

calendar.render()

Package Sidebar

Install

npm i @fullcalendar/google-calendar

Weekly Downloads

9,270

Version

6.1.11

License

MIT

Unpacked Size

23.5 kB

Total Files

8

Last publish

Collaborators

  • arshaw