Skip to content

Dragging elements easily with jQuery but without jQueryUI

License

Notifications You must be signed in to change notification settings

websitecode/jquery.drag.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

jquery.drag.js

Dragging elements easily with jQuery but without jQueryUI

Mainly based on the scripts and comments found there : http://css-tricks.com/snippets/jquery/draggable-without-jquery-ui/

I just added :

  • small corrections
  • support for touch events
  • a callback after each move

Usage :

$('div').drags({ handle: ".myHandle", onMoved: function(){ //do something cool }, onDrop: function(){ //do something cool } });

About

Dragging elements easily with jQuery but without jQueryUI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%