1.0.1 • Published 2 years ago

quick_undo_redo v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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

npm.io

npm.io

GitHub Pages

1.0.1

2 years ago