跳到主要内容

clearUndoStack

Description

清空存储的撤销命令栈

clearUndoStack: () => void

Example

gantt.clearUndoStack();

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.