-
canRedo()
-
Returns whether there is a change available to redo
Returns:
Whether there is a change that can be redone or not
-
Type
-
boolean
-
canUndo()
-
Returns whether there is a change available to undo
Returns:
Whether there is a change that can be undone or not
-
Type
-
boolean
-
clear()
-
Clears the undo/redo history so that no older changes can be undone.
-
redo()
-
Reapplies the most recent annotation change that was undone
Returns:
Returns a promise that resolves when the operation is complete
-
Type
-
Promise.<void>
-
undo()
-
Undoes the most recent annotation change
Returns:
Returns a promise that resolves when the operation is complete
-
Type
-
Promise.<void>