WebSharper.FullCalendar

FullCalendar 6 bindings for F# — with WebSharper

Source

${status}

Version ${version}

Views

Calendar(container, CalendarOptions(...)) with the dayGrid, timeGrid, list, multiMonth and interaction plugins. Switching views calls CalendarApi.changeView.

Events

CalendarApi.addEvent/getEventById/getEvents/removeAllEvents plus EventApi mutation: setProp, setExtendedProp, moveDates, setAllDay, remove, toPlainObject, toJSON and formatRange. Click a day or drag across days to create events (see the log below).

Selected event: ${selected}

Event sources and formatting

addEventSource, getEventSources, refetchEvents, calendar.formatDate/formatRange/formatIso, and the top-level FullCalendar.formatRange.

${info}

External drag

ExternalDraggable from the interaction plugin: drag a chip onto the calendar to create an event at that date.

Team offsite
Customer call
Sprint planning

Log

Every listener and API call in the sample appends a line here — dateClick, select, eventClick, eventDrop, eventResize, eventAdd/Change/Remove, datesSet, eventsSet, loading, viewDidMount, windowResize.

${logText}