arshaw b0c1d6c612 RELEASING: Releasing 33 package(s) 1 ماه پیش
..
scripts 26d67be166 code uses .global iifeSubExtension 3 سال پیش
src cb717b928b fix weird businesshour problem 5 ماه پیش
.eslintrc.cjs 613ab5765f Adjust pkg names to @fullcalenadar-tests/*, @fullcalenadar-scripts/*, and @fullcalenadar-monorepos/* 1 سال پیش
README.md 6631008ab5 simplify readme examples 3 سال پیش
package.json b0c1d6c612 RELEASING: Releasing 33 package(s) 1 ماه پیش

README.md

FullCalendar Core

FullCalendar core package for rendering a calendar

Installation

This package is never used alone. Use it with least one plugin (like daygrid):

npm install @fullcalendar/core @fullcalendar/daygrid

Usage

First, ensure there's a DOM element for your calendar to render into:

<body>
  <div id='calendar'></div>
</body>

Then, instantiate a Calendar object with options and call its render method:

import { Calendar } from '@fullcalendar/core'
import dayGridPlugin from '@fullcalendar/daygrid'

const calendarEl = document.getElementById('calendar')
const calendar = new Calendar(calendarEl, {
  plugins: [
    dayGridPlugin
    // any other plugins
  ],
  initialView: 'dayGridMonth',
  weekends: false,
  events: [
    { title: 'Meeting', start: new Date() }
  ]
})

calendar.render()