Undo implementation - DOM manipulations

Posted by sonofdelphi on Stack Overflow See other posts from Stack Overflow or by sonofdelphi
Published on 2010-04-26T18:15:08Z Indexed on 2010/04/26 18:23 UTC
Read the original article Hit count: 177

Filed under:
|

Is there a library that can be used for implementing undo/redo functionality for DOM element manipulations in JavaScript?

I'm writing an app that moves around DOM elements, enables editing and deletion of those elements. There are event-handlers and other objects associated with each element operated upon.

Not sure whether I need to roll my own implementation of the Command pattern for this. Surely, there must be something available? If not, suggestions and pointers would be a great help.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about dom