@event-calendar/build 3.1.0 → 3.2.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 +19 -6
- package/event-calendar.min.js +2 -2
- package/event-calendar.min.js.map +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ See [demo](https://vkurko.github.io/calendar/) and [changelog](CHANGELOG.md).
|
|
|
4
4
|
|
|
5
5
|
Full-sized drag & drop JavaScript event calendar with resource & timeline views:
|
|
6
6
|
|
|
7
|
-
* Lightweight (
|
|
7
|
+
* Lightweight (35kb [br](https://en.wikipedia.org/wiki/Brotli) compressed)
|
|
8
8
|
* Zero-dependency (pre-built bundle)
|
|
9
9
|
* Used on over 70,000 websites with [Bookly](https://wordpress.org/plugins/bookly-responsive-appointment-booking-tool/)
|
|
10
10
|
|
|
@@ -204,8 +204,8 @@ import '@event-calendar/core/index.css';
|
|
|
204
204
|
### Pre-built browser ready bundle
|
|
205
205
|
Include the following lines of code in the `<head>` section of your page:
|
|
206
206
|
```html
|
|
207
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@3.
|
|
208
|
-
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@3.
|
|
207
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@3.2.0/event-calendar.min.css">
|
|
208
|
+
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@3.2.0/event-calendar.min.js"></script>
|
|
209
209
|
```
|
|
210
210
|
|
|
211
211
|
<details>
|
|
@@ -363,9 +363,12 @@ Each `customButton` entry accepts the following properties:
|
|
|
363
363
|
<tr>
|
|
364
364
|
<td>
|
|
365
365
|
|
|
366
|
-
`text
|
|
366
|
+
`text`
|
|
367
|
+
</td>
|
|
368
|
+
<td>
|
|
369
|
+
|
|
370
|
+
The text to be display on the button itself. See [Content](#content)
|
|
367
371
|
</td>
|
|
368
|
-
<td>The text to be display on the button itself</td>
|
|
369
372
|
</tr>
|
|
370
373
|
<tr>
|
|
371
374
|
<td>
|
|
@@ -374,6 +377,16 @@ Each `customButton` entry accepts the following properties:
|
|
|
374
377
|
</td>
|
|
375
378
|
<td>A callback function that is called when the button is clicked. Accepts one argument <a href="https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent">mouseEvent</a></td>
|
|
376
379
|
</tr>
|
|
380
|
+
<tr>
|
|
381
|
+
<td>
|
|
382
|
+
|
|
383
|
+
`active`
|
|
384
|
+
</td>
|
|
385
|
+
<td>
|
|
386
|
+
|
|
387
|
+
If `true`, the button will appear pressed/active
|
|
388
|
+
</td>
|
|
389
|
+
</tr>
|
|
377
390
|
</table>
|
|
378
391
|
|
|
379
392
|
### date
|
|
@@ -2743,7 +2756,7 @@ Here are all properties that exist in Resource object:
|
|
|
2743
2756
|
</td>
|
|
2744
2757
|
<td>
|
|
2745
2758
|
|
|
2746
|
-
The title of the resource. See [Content](#content)
|
|
2759
|
+
The title of the resource. See [Content](#content)
|
|
2747
2760
|
</td>
|
|
2748
2761
|
</tr>
|
|
2749
2762
|
<tr>
|