跳到主要内容

isRedo()

描述

检查通过 Undo 操作撤销的动作是否已被恢复

用法

isRedo(): boolean;

示例

const editor = new dhx.DiagramEditor("editor_container", {
type: "default"
});
...
editor.history.isRedo();

返回值

如果通过 Undo 操作撤销的动作已被恢复,该方法返回 true;否则返回 false

更新日志:v4.1 中新增