more events about drag/drop actions from mouse


This is a javascript library for the SVG widget which can be scratched.

  • More rich events about drag and drop
  • Draw a flow chart

Work in progress, not yet officially released.

You can install this project with this command:

npm install scratchjs


You can clone / download the latest version from github. Then build by this command:

grunt all

Visit the wiki for more.

scratch.js by Alex Chi is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on a work at

  • 2013-05-09 v0.0.3dev Work in progress, not yet officially released