zhaojinyu e984acc6d0 first commit 11 tháng trước cách đây
..
locales e984acc6d0 first commit 11 tháng trước cách đây
LICENSE.md e984acc6d0 first commit 11 tháng trước cách đây
README.md e984acc6d0 first commit 11 tháng trước cách đây
index.cjs e984acc6d0 first commit 11 tháng trước cách đây
index.d.ts e984acc6d0 first commit 11 tháng trước cách đây
index.global.js e984acc6d0 first commit 11 tháng trước cách đây
index.global.min.js e984acc6d0 first commit 11 tháng trước cách đây
index.js e984acc6d0 first commit 11 tháng trước cách đây
internal-common.cjs e984acc6d0 first commit 11 tháng trước cách đây
internal-common.d.ts e984acc6d0 first commit 11 tháng trước cách đây
internal-common.js e984acc6d0 first commit 11 tháng trước cách đây
internal.cjs e984acc6d0 first commit 11 tháng trước cách đây
internal.d.ts e984acc6d0 first commit 11 tháng trước cách đây
internal.js e984acc6d0 first commit 11 tháng trước cách đây
locales-all.cjs e984acc6d0 first commit 11 tháng trước cách đây
locales-all.d.ts e984acc6d0 first commit 11 tháng trước cách đây
locales-all.global.js e984acc6d0 first commit 11 tháng trước cách đây
locales-all.global.min.js e984acc6d0 first commit 11 tháng trước cách đây
locales-all.js e984acc6d0 first commit 11 tháng trước cách đây
package.json e984acc6d0 first commit 11 tháng trước cách đây
preact.cjs e984acc6d0 first commit 11 tháng trước cách đây
preact.d.ts e984acc6d0 first commit 11 tháng trước cách đây
preact.js e984acc6d0 first commit 11 tháng trước cách đây

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