Skip to main content

undo

PRO

The functionality is available in PRO Edition only

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 setup>
import { getData } from "./common/data";
import { Gantt } from "@svar/vue-gantt";

const { tasks } = getData();
</script>

<template>
<Gantt :tasks="tasks" :undo="true" />
</template>