Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 471 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 471 Bytes

What is Easy Undo Redo?

Get the most easiest undo redo feature for your npm project

Installation

npm install easyUndoRedo --save

Initial easyUndoRedo() with some options paramiter.
import {easyUndoRedo} from 'easy-undo-redo';

var UndoRedo = new easyUndoRedo({
   stackLength : 20,
   initialValue : "Your initial data"
});
UndoRedo.save("Your updated data");
UndoRedo.undo(); //returns undo result
UndoRedo.redo(); //returns redo result