Migrating with EventCalendar
A team calendar written against another calendar library's React options, moved over by changing one import: the event-calendar item (compat EventCalendar) with initialView, views, 24-hour formats, business hours, events with url and extendedProps, background events, eventContent, eventClick, datesSet, dayMaxEvents and height, unchanged.
- The options and callbacks are the other library's; only the import changed.
- A click on the workshop calls
eventClick, which cancels its link withjsEvent.preventDefault(); a Ctrl- or Cmd-click still opens it. - Thursday is busy: in the month view
dayMaxEventsshows what fits and a “+N more”.
Oct 19 – 25, 2026
Friday, October 23, 2026Monday, October 19, 2026, 09:30 to 09:45Tuesday, October 20, 2026, 09:30 to 09:45Tuesday, October 20, 2026, 13:00 to 14:30Wednesday, October 21, 2026, 09:30 to 09:45Wednesday, October 21, 2026, 10:00 to 11:30Thursday, October 22, 2026, 09:30 to 09:45Thursday, October 22, 2026, 10:00 to 11:00Thursday, October 22, 2026, 11:00 to 12:00Thursday, October 22, 2026, 13:00 to 13:30Thursday, October 22, 2026, 14:00 to 15:00Thursday, October 22, 2026, 15:30 to 16:30Friday, October 23, 2026, 09:30 to 09:45
datesSet: nothing yet
eventClick: nothing yet