Giter Site home page Giter Site logo

undo's Introduction

Undo.js

Undo.js provides an abstraction for undoing and redoing any task. It can run both in the browser and on the server (targetted at node.js). It can be used to add undo and redo features to a custom application, e.g. undo and redo changing the priority of a task in a TODO list. It can also be used to undo and redo native browser features: Clicking a checkbox, editing a textbox and eventually, editing a contenteditable element.

The base abstraction will stay independent of any framework, while plugins, like a command editing a sortable list, will likely depend on libraries such as jQuery.

Installation

Via npm: npm install undo.js

Roadmap for demos to add:

  • Extend sortable list demo with jQuery UI sortable
  • form: track all form changes: text input, checkbox change, radio change, select change
  • add undo/redo to Backbone TODO demo
  • contenteditable with bold command

Demos:

http://jzaefferer.github.com/undo/demos/ http://jzaefferer.github.com/undo/demos/contenteditable.html

To suggest a feature, report a bug, or general discussion:

http://github.com/jzaefferer/undo/issues/

undo's People

Contributors

jzaefferer avatar dbkaplun avatar yunfong avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.