- Description:
Represents a unit of undoable/redoable work as provided by a Command.
- Source:
Represents a unit of undoable/redoable work as provided by a Command.
Methods
canRedo() → {Promise.<boolean>}
- Description:
Resolves true if it is possible to do the redo work at this time.
- Source:
Returns:
- Type
- Promise.<boolean>
canUndo() → {Promise.<boolean>}
- Description:
Resolves true if it is possible to do the undo work at this time.
- Source:
Returns:
- Type
- Promise.<boolean>
redoText() → {Promise.<string>}
- Description:
Resolve some text that describes the redo work about to be done.
- Source:
Returns:
- Type
- Promise.<string>
undo() → {Promise}
- Description:
Perform the undo work.
- Source:
Returns:
- Type
- Promise
undo() → {Promise}
- Description:
Perform the redo work.
- Source:
Returns:
- Type
- Promise
undoText() → {Promise.<string>}
- Description:
Resolve some text that describes the undo work about to be done.
- Source:
Returns:
- Type
- Promise.<string>