antoniandre / vue-cal

A Vue.js full calendar, no dependency, no BS. :metal:
https://antoniandre.github.io/vue-cal/
MIT License
1.23k stars 234 forks source link

Split Day into intervals #503

Open eza opened 1 year ago

eza commented 1 year ago

Hi, it would be nice to be able to split the Day in multiple intervals, so that users can create events only on selected available intervals.

So instead of having only:

<VueCal
      :time-from="timeFrom"
      :time-to="timeTo"

you could have an array of objects:

<VueCal
:intervals = {
  [
    timeFrom="",
    timeTo="",
  ],
  ...
}

Also, perhaps represent this separation with a little space in between intervals with some graphic that makes it clear..