Skip to main content

isRedo()

Description

Checks whether an action reverted by the Undo action has been restored

Usage

isRedo(): boolean;

Example

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

Returns

The method returns true, if an action reverted by the Undo action has been restored; otherwise, false

Change log: Added in v4.1