Skip to content

rawatanimesh/angular-undo-redo-service

Repository files navigation

Angular Undo Redo Service

Reusable undo-redo angular service.

Demo

Checkout the demo - https://angular-undo-redo.web.app/

undo:redo

Features

1) Completely reusable angular service for undo/redo functionality
2) Easily change stack size as per you own requirement by changing value of 'undoLimit' variable.
3) Pass you own custom data and events using 'newAction(yourData)' method and the undo/redo stacks will be maintained for you
4) Subscribe to 'dataEmit' EventEmitter, and make changes as per your need
5) Clear all stacks using 'clearAll()' method

Author

Email - [email protected]
Portfolio - https://animesh-rawat.web.app/