@fullcalendar/interaction 7.0.0-beta.4 → 7.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/README.md +7 -1
- package/{index.cjs → cjs/index.cjs} +157 -148
- package/{index.d.ts → esm/index.d.ts} +38 -32
- package/{index.js → esm/index.js} +47 -42
- package/{index.global.js → global.js} +52 -44
- package/global.min.js +6 -0
- package/package.json +17 -14
- package/index.global.min.js +0 -6
package/LICENSE.md
CHANGED
package/README.md
CHANGED
|
@@ -19,12 +19,18 @@ Instantiate a Calendar with the necessary plugins and options:
|
|
|
19
19
|
import { Calendar } from '@fullcalendar/core'
|
|
20
20
|
import interactionPlugin from '@fullcalendar/interaction'
|
|
21
21
|
import dayGridPlugin from '@fullcalendar/daygrid'
|
|
22
|
+
import classicThemePlugin from '@fullcalendar/theme-classic'
|
|
23
|
+
|
|
24
|
+
import '@fullcalendar/core/skeleton.css'
|
|
25
|
+
import '@fullcalendar/theme-classic/theme.css'
|
|
26
|
+
import '@fullcalendar/theme-classic/palette.css'
|
|
22
27
|
|
|
23
28
|
const calendarEl = document.getElementById('calendar')
|
|
24
29
|
const calendar = new Calendar(calendarEl, {
|
|
25
30
|
plugins: [
|
|
26
31
|
interactionPlugin,
|
|
27
|
-
dayGridPlugin
|
|
32
|
+
dayGridPlugin,
|
|
33
|
+
classicThemePlugin
|
|
28
34
|
],
|
|
29
35
|
initialView: 'dayGridMonth',
|
|
30
36
|
editable: true, // important for activating event interactions!
|