backbone.memento icon indicating copy to clipboard operation
backbone.memento copied to clipboard

Getting total list size and current index

Open Ratikant01 opened this issue 11 years ago • 1 comments

Is there any way (public methods?) to get list size and current index to enable/disable undo/redo button?

Ratikant01 avatar Dec 23 '13 07:12 Ratikant01

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?

Ratikant01 avatar Dec 23 '13 08:12 Ratikant01