@event-calendar/build 3.4.0 → 3.5.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 +29 -2
- package/event-calendar.min.js +2 -2
- package/event-calendar.min.js.map +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -61,6 +61,7 @@ Inspired by [FullCalendar](https://fullcalendar.io/), implements similar options
|
|
|
61
61
|
- [eventStartEditable](#eventstarteditable)
|
|
62
62
|
- [eventTextColor](#eventtextcolor)
|
|
63
63
|
- [eventTimeFormat](#eventtimeformat)
|
|
64
|
+
- [filterEventsWithResources](#filtereventswithresources)
|
|
64
65
|
- [filterResourcesWithEvents](#filterresourceswithevents)
|
|
65
66
|
- [firstDay](#firstday)
|
|
66
67
|
- [flexibleSlotTimeLimits](#flexibleslottimelimits)
|
|
@@ -204,8 +205,8 @@ import '@event-calendar/core/index.css';
|
|
|
204
205
|
### Pre-built browser ready bundle
|
|
205
206
|
Include the following lines of code in the `<head>` section of your page:
|
|
206
207
|
```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.
|
|
208
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@3.5.0/event-calendar.min.css">
|
|
209
|
+
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@3.5.0/event-calendar.min.js"></script>
|
|
209
210
|
```
|
|
210
211
|
|
|
211
212
|
<details>
|
|
@@ -1506,6 +1507,12 @@ Sets the default text color for events on the calendar.
|
|
|
1506
1507
|
|
|
1507
1508
|
You can use any of the CSS color formats such `'#f00'`, `'#ff0000'`, `'rgb(255,0,0)'`, or `'red'`.
|
|
1508
1509
|
|
|
1510
|
+
### filterEventsWithResources
|
|
1511
|
+
- Type `boolean`
|
|
1512
|
+
- Default `false`
|
|
1513
|
+
|
|
1514
|
+
Determines whether events that do not belong to the current array of [resources](#resources) should be hidden in `dayGrid`/`timeGrid`/`list` views.
|
|
1515
|
+
|
|
1509
1516
|
### filterResourcesWithEvents
|
|
1510
1517
|
- Type `boolean`
|
|
1511
1518
|
- Default `false`
|
|
@@ -2815,6 +2822,16 @@ The title of the resource. See [Content](#content)
|
|
|
2815
2822
|
</td>
|
|
2816
2823
|
<td>Default text color for this resource's events</td>
|
|
2817
2824
|
</tr>
|
|
2825
|
+
<tr>
|
|
2826
|
+
<td>
|
|
2827
|
+
|
|
2828
|
+
`extendedProps`
|
|
2829
|
+
</td>
|
|
2830
|
+
<td>
|
|
2831
|
+
|
|
2832
|
+
A plain object holding miscellaneous properties specified during parsing in the explicitly given `extendedProps` field
|
|
2833
|
+
</td>
|
|
2834
|
+
</tr>
|
|
2818
2835
|
</table>
|
|
2819
2836
|
|
|
2820
2837
|
### Parsing resource from a plain object
|
|
@@ -2862,6 +2879,16 @@ Here are all admissible fields for the resource’s input object:
|
|
|
2862
2879
|
`string` Sets the default text color for this resource's events just like the calendar-wide [eventTextColor](#eventtextcolor) option. Default `undefined`
|
|
2863
2880
|
</td>
|
|
2864
2881
|
</tr>
|
|
2882
|
+
<tr>
|
|
2883
|
+
<td>
|
|
2884
|
+
|
|
2885
|
+
`extendedProps`
|
|
2886
|
+
</td>
|
|
2887
|
+
<td>
|
|
2888
|
+
|
|
2889
|
+
`object` A plain object with any miscellaneous properties. It will be directly transferred to the `extendedProps` property of the Resource object. Default `{}`
|
|
2890
|
+
</td>
|
|
2891
|
+
</tr>
|
|
2865
2892
|
</table>
|
|
2866
2893
|
|
|
2867
2894
|
## View object
|