Optional
options: { initialState: T }The tracked data object to manipulate
Returns the current number of times redo can be called
Returns the current number of times redo can be called
Returns the current number of times undo can be called
Returns the current number of times undo can be called
Clones the object at a given point in it's history. No argument clones the current state of the data object
Optional
at: numberThe position in the history stack to clone at. Positive numbers are from initialisation and negative numbers from current object state
Moves the data property forward to the state it was in before the the last call of undo
Moves the data property back to the state it was in before the previous change
Generated using TypeDoc
The tracked data object to manipulate