跳到主要内容

undo_types

Description

设置将应用 Undo 操作的实体类型

undo_types: { link?: string; task?: string; }

Example

gantt.config.undo_types = {
link:"link",
task:"task"
};

Details

注释

此选项定义在 undo extension 中,因此您需要启用 undo 插件。请在 Undo/Redo Functionality 文章中阅读详细信息。

  • link - (string) - “link” 实体的名称
  • task - (string) - “task” 实体的名称

Change log

  • 在 4.0 版本中新增
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.