fullcalendar 6.0.0-beta.3 → 6.0.0

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/README.md CHANGED
@@ -1,14 +1,57 @@
1
1
 
2
2
  # FullCalendar Standard Bundle
3
3
 
4
- FullCalendar is a full-sized drag & drop event calendar. This packages is an easily consumable combination of standard plugins. It makes the root namespace available as the `FullCalendar` browser global. [View the docs »](https://fullcalendar.io/docs/getting-started)
4
+ Easily render a full-sized drag & drop calendar with a combination of standard plugins
5
5
 
6
- This `fullcalendar` package bundles together these plugins:
6
+ This `fullcalendar` package bundles these plugins:
7
7
 
8
- - [@fullcalendar/core](https://www.npmjs.com/package/@fullcalendar/core)
9
- - [@fullcalendar/interaction](https://www.npmjs.com/package/@fullcalendar/interaction)
10
- - [@fullcalendar/daygrid](https://www.npmjs.com/package/@fullcalendar/daygrid)
11
- - [@fullcalendar/timegrid](https://www.npmjs.com/package/@fullcalendar/timegrid)
12
- - [@fullcalendar/list](https://www.npmjs.com/package/@fullcalendar/list)
13
- - [@fullcalendar/bootstrap](https://www.npmjs.com/package/@fullcalendar/bootstrap)
14
- - [@fullcalendar/google-calendar](https://www.npmjs.com/package/@fullcalendar/google-calendar)
8
+ - [@fullcalendar/core](https://github.com/fullcalendar/fullcalendar/tree/main/packages/core)
9
+ - [@fullcalendar/interaction](https://github.com/fullcalendar/fullcalendar/tree/main/packages/interaction)
10
+ - [@fullcalendar/daygrid](https://github.com/fullcalendar/fullcalendar/tree/main/packages/daygrid)
11
+ - [@fullcalendar/timegrid](https://github.com/fullcalendar/fullcalendar/tree/main/packages/timegrid)
12
+ - [@fullcalendar/list](https://github.com/fullcalendar/fullcalendar/tree/main/packages/list)
13
+
14
+ ## Usage with CDN or ZIP archive
15
+
16
+ Load the `index.global.min.js` file and use the `FullCalendar` global namespace:
17
+
18
+ ```html
19
+ <!DOCTYPE html>
20
+ <html>
21
+ <head>
22
+ <script src='https://cdn.jsdelivr.net/npm/fullcalendar/index.global.min.js'></script>
23
+ <script>
24
+
25
+ document.addEventListener('DOMContentLoaded', function() {
26
+ const calendarEl = document.getElementById('calendar')
27
+ const calendar = new FullCalendar.Calendar(calendarEl, {
28
+ initialView: 'dayGridMonth'
29
+ })
30
+ calendar.render()
31
+ })
32
+
33
+ </script>
34
+ </head>
35
+ <body>
36
+ <div id='calendar'></div>
37
+ </body>
38
+ </html>
39
+ ```
40
+
41
+ ## Usage with NPM and ES modules
42
+
43
+ ```sh
44
+ npm install fullcalendar
45
+ ```
46
+
47
+ ```js
48
+ import { Calendar } from 'fullcalendar'
49
+
50
+ document.addEventListener('DOMContentLoaded', function() {
51
+ const calendarEl = document.getElementById('calendar')
52
+ const calendar = new Calendar(calendarEl, {
53
+ initialView: 'dayGridMonth'
54
+ })
55
+ calendar.render()
56
+ })
57
+ ```