vkurko / calendar

Full-sized drag & drop JavaScript event calendar with resource & timeline views
https://vkurko.github.io/calendar/
MIT License
964 stars 82 forks source link

Option for resizing step time #226

Open ile opened 5 months ago

ile commented 5 months ago

Now the step for resizing seems to be 30 minutes.

How about making this configurable (5, 15, 30 minutes could be useful)?

I didn't find an option for this, not sure if I missed it.

vkurko commented 4 months ago

The resizing step is actually tied to the displayed step, which is configured by the slotDuration option.

ile commented 4 months ago

I tried it, but I would like to keep the size of one hour the same. If I remember correctly, that would increase the height of one hour and make the whole day much larger. I would like to keep each hour-slot the same as it is originally.

vkurko commented 4 months ago

FullCalendar has a setting called snapDuration. I think it can be implemented in the Event Calendar in the future.