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
| action | Custom application action dispatched by toolbar buttons, context menus, or app code |
| add-event | Adds a new event to the calendar, with optional editor open and view-aware default bounds |
| delete-event | Removes an event from the calendar |
| export-data | Snapshots the current events, view, and custom presentation and sends them to a URL or callback for export |
| filter-events | Applies or clears a predicate that hides events from all views |
| move-event | Apply a drag or resize patch to an event |
| navigate-time | Step the calendar forward, backward, or jump to today |
| navigate-to | Switches the calendar to a specific date, view, or both in a single dispatch |
| provide-data | Pushes loaded events into the store, merging by id or replacing the full set |
| redo | Restore the event snapshot displaced by undo |
| request-data | Notifies subscribers that the visible date range changed so they can load events for it |
| select-event | Selects an event for editing or clears the current selection |
| undo | Restore the event snapshot before the latest tracked mutation |
| update-event | Updates an existing event's fields, with single/following mode for recurring occurrences |