Skip to main content

Actions Overview

Actions are the dispatch-and-react surface of the calendar store. Each action is fired via api.exec(name, payload), observed via api.on, or blocked via api.intercept. Every action also forwards to a matching on{actionname} prop on <Calendar>.

Actions

actionCustom application action dispatched by toolbar buttons, context menus, or app code
add-eventAdds a new event to the calendar, with optional editor open and view-aware default bounds
delete-eventRemoves an event from the calendar
filter-eventsApplies or clears a predicate that hides events from all views
move-eventDrag-progress dispatch for an event being moved
navigate-timeStep the calendar forward, backward, or jump to today
navigate-toSwitches the calendar to a specific date, view, or both in a single dispatch
select-eventSelects an event for editing or clears the current selection
update-eventUpdates an existing event's fields, with single/following mode for recurring occurrences