跳到主要内容

clearRedoStack

Description

清空存储的重做命令堆栈

clearRedoStack: () => void

Example

gantt.clearRedoStack();

Details

注释

此方法定义在 undo 扩展中,因此你需要启用 undo 插件。请在 Undo/Redo Functionality 文章中了解详细信息。

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.