跳到主要内容

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.