Creates an instance of UndoManager
.
Do not use directly, use undoMiddleware
instead.
Optional
store: UndoStoreIf redo can be performed (if there is at least one redo action available)
If undo can be performed (if there is at least one undo action available).
Returns if undo recording is currently disabled or not for this particular UndoManager
.
The number of redo actions available.
The number of undo actions available.
Runs a synchronous code block as an undo group. Note that nested groups are allowed.
Code block return value.
Runs a synchronous code block as an undo group. Note that nested groups are allowed.
Code block return value.
Runs an asynchronous code block as an undo group. Note that nested groups are allowed.
Flow function return value.
Runs an asynchronous code block as an undo group. Note that nested groups are allowed.
Flow function return value.
Manager class returned by
undoMiddleware
that allows you to perform undo/redo actions.