undo
描述
当撤销 Kanban 中的最后一次操作时触发
用法
"undo": () => void;
信息
处理内部事件时,您可以使用 Event Bus 方法
示例
// 创建 Kanban
const board = new kanban.Kanban("#root", {
columns,
cards
});
// 订阅 "undo" 事件
board.api.on("undo", () => {
console.log("撤销操作");
});
**更新日志:**该事件在 v1.7 中新增