How to use slotMinutes in jQuery Fullcalendar

When I resize an event in full-screen day mode, it allows me to resize it with a difference of 30 minutes. I want to reduce the time period from 30 to 10 or 5. How can I do this?

+3
source share
2 answers

It looks like you just have to specify an argument slotMinutesin the parameters when initializing the calendar:

$('#calendar').fullCalendar({
    header: {
        left: 'prev,next today',
        center: 'title',
        right: 'month,agendaWeek,agendaDay'
    },
    slotMinutes: 5,
    // .. etc
});

, ( "", ), 5 . , - (.. 30- , 5- ).

, !

+6
0

Source: https://habr.com/ru/post/1781870/


All Articles