Skip to main content

clearRedoStack

Description

Clears the stack of stored redo commands

clearRedoStack: () => void

Example

gantt.clearRedoStack();

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