# drag **Repository Path**: const-undefined-man/drag ## Basic Information - **Project Name**: drag - **Description**: jQuery简易拖拽插件 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 25 - **Forks**: 4 - **Created**: 2015-08-17 - **Last Updated**: 2024-11-25 ## Categories & Tags **Categories**: jquery-plugins **Tags**: None ## README #drag 一个简单的jQuery拖拽插件。简单,方便,灵活,不需要依赖jQuery UI等组件。 本插件基于jQuery1.8.1.js开发,使用时请保障jQuery版本在此以上。 在线demo:[http://sole.oschina.io/drag](http://sole.oschina.io/drag) #优点 不依赖任何css、js,完全自定义拖拽界面;适合有一定经验的人使用。 #说明 没有响亮的名字,没有遵循什么协议;但是,你可以在任何时候,任何地点随便修改,任意使用; 在这个烦躁、堕落、又不尊重尊重知识产权的天朝,一切神马都是浮云。 #auth auth:sole email:macore@163.com #use ``` $('drag-title').drag({ dir:'xy', limit:0, down:function(point){ console.log(point); }, move:function(point){ console.log(point); } }); ```