backbone.memento
backbone.memento copied to clipboard
Getting total list size and current index
Is there any way (public methods?) to get list size and current index to enable/disable undo/redo button?
Just adding one point to above; can we have two functions something like isRedoable and isUndoable to make Redo and Undo enabled/disabled depending on the size of list we have already saved and current index?