1.0.1 • Published 2 years ago
quick_undo_redo v1.0.1
QuickUndoRedo
Module for the implementation of the function to redo and undo
functions
init
new UndoRedo();
Initializes the storage object function which is stored in a variable
let History = new UndoRedo();
Save
Save function receives the information to be stored
History.Save(data);
Undo and Redo
History.Redo(); and History.Undo();
These functions return the stored information undo returns the previous information while the redo function returns the most current information stored
Example
1.0.1
2 years ago