undo
PRO
The functionality is available in PRO Edition only
Description
Optional. Enables executing the undo and redo actionsUsage
undo?: boolean;
Parameters
true- allows executing theundoandredoactionsfalse(default) - the ability to call theundoandredoactions 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>