Bind 'undo' and 'redo' actions to 'Ctrl/Cmd+Z', 'Ctrl+Y' & 'Ctrl/Cmd+Shift+Z' hot keys. It is a basic implementation for quick testing and should be replaced with custom event handlers for more flexible processing.
Execute function and record it with its opposite "undo" function
either an object with "redo" and "undo" functions
Remember executed command containing "redo" and "undo" functions
either an object with "redo" and "undo" functions
Redo the command which was previously undone
Reset all commands from memory
Change stack size limit initially defined in the constructor options
Undo previous command if possible
Generated using TypeDoc
Main class