I'm using FullCalendar to display a list of events from a Google Calendar. What I need is a list of the next 3 events, regardless of the day they are on.
The only option I found so far is to set the amount of days listed:
$('#calendar').fullCalendar({
defaultView: "listWeek",
views: {
listWeek: {
type: 'list',
duration: { days: 3 },
}
},
})
This is list is empty though, if there are no events within the next three days.
Is there a way to set the specific amount of events displayed instead just the number of days?
Note: My knowledge about JS is pretty basic, so if the only option is to create a Custom View I'm grateful for any examples on how this could work.