history
Enables local undo/redo history for event additions, updates, moves, and deletions. With the default toolbar, enabling this prop also adds Undo and Redo controls. External data replacement clears history. Pro only.
PRO
The functionality is available in PRO Edition only
Usage
history?: boolean;
Default: false.
Example
<script lang="ts">
import { Calendar } from "@svar-ui/svelte-calendar";
</script>
<Calendar {events} {date} history={true} />
Related articles
- Undo and Redo — how history tracking, coalescing, and the toolbar controls work.
undo/redo— the actions that restore tracked snapshots.