Skip to main content

undo

The functionality is available in PRO Edition onlyPRO

Description

Optional. Enables executing the undo and redo actions

Usage

undo?: boolean;

Parameters

  • true - allows executing the undo and redo actions
  • false (default) - the ability to call the undo and redo actions is disabled

Example

<script>
import { getData } from "./common/data";
import { Gantt } from "@svar/svelte-gantt";

const { tasks } = getData();

</script>

<Gantt {tasks} undo />