Back to Fullcalendar

nextDayThreshold

_docs-v3/event-display/nextDayThreshold.md

latest765 B
Original Source

When an event's end time spans into another day, the minimum time it must be in order for it to render as if it were on that day.

<div class='spec' markdown='1'> Duration, default: `"09:00:00"` (9am) </div>

Only affects timed events that appear on whole-days. Whole-day cells occur in month view, basicDay, basicWeek and the all-day slots in the agenda views.

For example, with nextDayThreshold being the default of 9am, the following event would appear to take up only one day:

js
{ start: '2014-02-04T20:00:00', end: '2014-02-05T02:00:00' }
// goes from 8pm to 2am the next day

Whereas the following event would appear to take up two days:

js
{ start: '2014-02-04T20:00:00', end: '2014-02-05T10:00:00' }
// goes from 8pm to 10am the next day