跳到主要内容

clearRedoStack

Description

重置保存重做命令的栈

clearRedoStack: () => void

Example

gantt.clearRedoStack();

Details

注释

此方法属于 undo 扩展的一部分,因此请确保先启用 undo 插件。更多详情请参见 撤销/重做功能 文章。

Change log

  • 在版本 5.2 中添加
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.