@event-calendar/build 3.10.0 → 3.11.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 +15 -4
- package/event-calendar.min.js +2 -2
- package/event-calendar.min.js.map +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -96,6 +96,7 @@ Inspired by [FullCalendar](https://fullcalendar.io/), implements similar options
|
|
|
96
96
|
- [slotEventOverlap](#sloteventoverlap)
|
|
97
97
|
- [slotHeight](#slotheight)
|
|
98
98
|
- [slotLabelFormat](#slotlabelformat)
|
|
99
|
+
- [slotLabelInterval](#slotlabelinterval)
|
|
99
100
|
- [slotMaxTime](#slotmaxtime)
|
|
100
101
|
- [slotMinTime](#slotmintime)
|
|
101
102
|
- [slotWidth](#slotwidth)
|
|
@@ -207,8 +208,8 @@ Or in your Svelte component, use the calendar like this:
|
|
|
207
208
|
### Pre-built browser ready bundle
|
|
208
209
|
Include the following lines of code in the `<head>` section of your page:
|
|
209
210
|
```html
|
|
210
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@3.
|
|
211
|
-
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@3.
|
|
211
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@3.11.0/event-calendar.min.css">
|
|
212
|
+
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@3.11.0/event-calendar.min.js"></script>
|
|
212
213
|
```
|
|
213
214
|
|
|
214
215
|
<details>
|
|
@@ -2076,6 +2077,16 @@ function (time) {
|
|
|
2076
2077
|
</tr>
|
|
2077
2078
|
</table>
|
|
2078
2079
|
|
|
2080
|
+
### slotLabelInterval
|
|
2081
|
+
- Type `string`, `integer` or `object`
|
|
2082
|
+
- Default `undefined`
|
|
2083
|
+
|
|
2084
|
+
The interval at which slot labels should be displayed in `timeGrid` views.
|
|
2085
|
+
|
|
2086
|
+
If not specified, then if `slotDuration` is less than 1 hour, the interval is considered to be twice as long, i.e. the labels are displayed every other time.
|
|
2087
|
+
|
|
2088
|
+
If the interval is set to zero, then labels are displayed for all slots, including the very first one, which is not normally displayed.
|
|
2089
|
+
|
|
2079
2090
|
### slotMaxTime
|
|
2080
2091
|
- Type `string`, `integer` or `object`
|
|
2081
2092
|
- Default `'24:00:00'`
|
|
@@ -2096,7 +2107,7 @@ This should be a value that can be parsed into a [Duration](#duration-object) ob
|
|
|
2096
2107
|
- Type `integer`
|
|
2097
2108
|
- Default `72`
|
|
2098
2109
|
|
|
2099
|
-
Defines the time slot width in pixels in `
|
|
2110
|
+
Defines the time slot width in pixels in `resourceTimeline` views. When changing the setting, you must additionally override the following CSS styles:
|
|
2100
2111
|
|
|
2101
2112
|
```css
|
|
2102
2113
|
.ec-timeline .ec-time, .ec-timeline .ec-line {
|
|
@@ -3072,4 +3083,4 @@ A list of all available CSS variables can be found [here](packages/core/src/styl
|
|
|
3072
3083
|
|
|
3073
3084
|
The latest versions of Chrome, Firefox, Safari, and Edge are supported.
|
|
3074
3085
|
|
|
3075
|
-
> The library is compiled to support browsers that match the following browserslist configuration: `defaults and supports fetch`. You can see the resulting list [here](https://browsersl.ist/#q=defaults+and+supports+fetch).
|
|
3086
|
+
> The library is compiled to support browsers that match the following browserslist configuration: `defaults and supports fetch`. You can see the resulting list [here](https://browsersl.ist/#q=defaults+and+supports+fetch).
|