Skip to content

bobey/angular-undo-redo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular Undo Redo

This repository shows how to implement an undo/redo functionality in an AngularJS frontend using the Command Pattern:

If all user actions in a program are implemented as command objects, the program can keep a stack of the most recently executed commands. When the user wants to undo a command, the program simply pops the most recent command object and executes its undo() method.

This is code support for an article on my blog: http://blog.overnetcity.com

Try it online!

Angular Undo / redo demo

Fork it!

git clone https://github.com/bobey/angular-undo-redo.git && cd angular-undo-redo
npm install
bower install
grunt

And open public/index.html. That's it!

About

Angular Undo Redo functionality with the Command Pattern

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages