본문으로 건너뛰기

isUndo()

설명

작업이 되돌려졌는지 확인합니다

사용법

isUndo(): boolean;

예제

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

반환값

이 메서드는 작업이 되돌려진 경우 true를 반환하고, 그렇지 않으면 false를 반환합니다

변경 로그: v4.1에서 추가