A drag and drop library for desktop and touch - see http://jofan.github.com/Draggy/ for docs
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Latest commit 68b80c5 Mar 10, 2015 @jofan Added destroy. 0.9.9
Permalink
Failed to load latest commit information.
.c9
example Added destroy. 0.9.9 Mar 10, 2015
lib Added destroy. 0.9.9 Mar 10, 2015
src Added destroy. 0.9.9 Mar 10, 2015
.gitignore Moved onDrop event to bottom of setTo method Jun 3, 2013
bower.json Added destroy. 0.9.9 Mar 10, 2015
component.json
readme.md Added destroy. 0.9.9 Mar 10, 2015

readme.md

#Draggy draggy.js is a small JavaScript library for creating draggable elements. It has been especially designed for JavaScript applications (single-page apps) where DOM elements might be removed but state should be preserved.

draggy.js has no dependencies, but require browsers to support CSS3 transform (translate).

Docs

See Draggy documentation and examples

Change log

Version 0.9.9 2015-03-10

  • Added #destroy method
  • Properly captures predefined x and y values of the element

Version 0.9.1 2013-03-11

  • Added README file (this)
  • Simplified browser compatibility code
  • Fixed bug in bind method
  • Replaced GitHub image code, as they have changed providers (?)

##License (The MIT License)

Copyright (c) 2015 Stefan Liden stefan@jofanmedia.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.