Skip to main content

clearUndoStack

Description

Clears the stack of stored undo commands

clearUndoStack: () => void

Example

gantt.clearUndoStack();

Details

note

This method is defined in the undo extension, so you need to enable the undo plugin. Read the details in the Undo/Redo Functionality article.

Change log

  • added in version 5.2