1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 02:39:46 +02:00
Oinktube/node_modules/@fullcalendar/core
2024-08-05 11:37:04 -03:00
..
locales Libs updates and new version with option to pin videos on channel 2024-08-05 11:37:04 -03:00
index.cjs Libs updates and new version with option to pin videos on channel 2024-08-05 11:37:04 -03:00
index.d.ts Add Calendar 2024-05-03 12:16:27 -03:00
index.global.js Libs updates and new version with option to pin videos on channel 2024-08-05 11:37:04 -03:00
index.global.min.js Libs updates and new version with option to pin videos on channel 2024-08-05 11:37:04 -03:00
index.js Libs updates and new version with option to pin videos on channel 2024-08-05 11:37:04 -03:00
internal-common.cjs Libs updates and new version with option to pin videos on channel 2024-08-05 11:37:04 -03:00
internal-common.d.ts Add Calendar 2024-05-03 12:16:27 -03:00
internal-common.js Libs updates and new version with option to pin videos on channel 2024-08-05 11:37:04 -03:00
internal.cjs Add Calendar 2024-05-03 12:16:27 -03:00
internal.d.ts Add Calendar 2024-05-03 12:16:27 -03:00
internal.js Add Calendar 2024-05-03 12:16:27 -03:00
LICENSE.md Add Calendar 2024-05-03 12:16:27 -03:00
locales-all.cjs Add Calendar 2024-05-03 12:16:27 -03:00
locales-all.d.ts Add Calendar 2024-05-03 12:16:27 -03:00
locales-all.global.js Libs updates and new version with option to pin videos on channel 2024-08-05 11:37:04 -03:00
locales-all.global.min.js Libs updates and new version with option to pin videos on channel 2024-08-05 11:37:04 -03:00
locales-all.js Add Calendar 2024-05-03 12:16:27 -03:00
package.json Libs updates and new version with option to pin videos on channel 2024-08-05 11:37:04 -03:00
preact.cjs Add Calendar 2024-05-03 12:16:27 -03:00
preact.d.ts Add Calendar 2024-05-03 12:16:27 -03:00
preact.js Add Calendar 2024-05-03 12:16:27 -03:00
README.md Add Calendar 2024-05-03 12:16:27 -03:00

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