undo_actions
Description
定义 Undo 功能将要撤销的操作
undo_actions: { update?: string; remove?: string; add?: string; move?: string; }
Example
gantt.config.undo_actions = {
update: "update",
remove: "remove", // 从 datastore 中移除一个项目
add: "add",
move: "move"
};
Related samples
Details
- update - (string) - 指定"update"操作的名称
- remove - (string) - 指定"remove"操作的名称
- add - (string) - 指定"add"操作的名称
- move - (string) - 指定"move"操作的名称
Related API
Related Guides
Change log
- 版本 4.0 中添加