undo

Undo.js

  • 所有者: jzaefferer/undo
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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/

主要指標

概覽
名稱與所有者jzaefferer/undo
主編程語言JavaScript
編程語言JavaScript (語言數: 2)
平台
許可證
所有者活动
創建於2011-02-27 23:35:29
推送於2024-08-02 13:48:57
最后一次提交2024-08-02 15:48:57
發布數2
最新版本名稱v0.2.0 (發布於 2015-01-05 13:24:21)
第一版名稱v0.1.0 (發布於 2014-05-02 17:24:42)
用户参与
星數311
關注者數11
派生數51
提交數19
已啟用問題?
問題數8
打開的問題數2
拉請求數3
打開的拉請求數1
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?