yukatan / commangular

Command framework for AngularJS
MIT License
83 stars 8 forks source link

Undo/Redo functionality #2

Closed romkor closed 10 years ago

romkor commented 10 years ago

How to implement stack of commands with undo/redo functionality?

yukatan commented 10 years ago

There is not support for undo/redo in commangular and it is not planed for the near future. The command live cycle is attached to the command context and all the commands executed in that context are removed when the context ends.

I have never thought about this feature but now it has to be implemented outside the commangular context. It couldn't be an easy task.