C
CommandHistory
v0.0.8testedCommand history with undo/redo/batch support
Signature
ts
class CommandHistory extends BaseCommandHistory<Command>Methods
executets
execute(command: Command): void| Parameter | Type | Description |
|---|---|---|
command | Command | — |
undots
undo(): booleanReturns
booleanredots
redo(): booleanReturns
booleanbatchts
batch(commands: Command[]): void| Parameter | Type | Description |
|---|---|---|
commands | Command[] | — |