Implementing jQueryUI Drag and Drop functionality in AngularJS (with Animation) is easier than ever
See the codeImplementing jQueryUI Drag and Drop functionality in AngularJS is easier than ever with this wrapper for jQueryUI draggable/droppable components.
bower install angular-dragdrop (or sudo bower install angular-dragdrop --allow-root)
Reference angular-dragdrop.min.js in your application as:
<script src="components/angular-dragdrop/src/angular-dragdrop.min.js"></script>
angular.module('myApp', ['ngDragDrop'])
<span data-drag="true" jqyoui-draggable>So you think you can drag</span>
Finally, check out the cool demos
Note, use touchpunch.js to enable drag/drop on touch devices.
Demo is here
deepCopy option if prototypical inheritance is not required.scope.$apply() within callback, if needed.Do not pass evaluated expressions in callbacks. For example,
<div jqyoui-draggable="{onStart:'startCallback({{item}})'}">{{item.title}}</div>
<div jqyoui-draggable="{onStart:'startCallback(item)'}">{{item.title}}</div>
If you're having problems with using the project, use the support forum at CodersClan.
Overall
Maintained
Code review
Latest release
Releases this year
3,881 followers · starred May 2014
32 followers · starred Jan 2014
900 followers · starred Oct 2015
98 followers · starred Aug 2015
Implementing jQueryUI Drag and Drop functionality in AngularJS (with Animation) is easier than ever
See the codeImplementing jQueryUI Drag and Drop functionality in AngularJS is easier than ever with this wrapper for jQueryUI draggable/droppable components.
bower install angular-dragdrop (or sudo bower install angular-dragdrop --allow-root)
Reference angular-dragdrop.min.js in your application as:
<script src="components/angular-dragdrop/src/angular-dragdrop.min.js"></script>
angular.module('myApp', ['ngDragDrop'])
<span data-drag="true" jqyoui-draggable>So you think you can drag</span>
Finally, check out the cool demos
Note, use touchpunch.js to enable drag/drop on touch devices.
Demo is here
deepCopy option if prototypical inheritance is not required.scope.$apply() within callback, if needed.Do not pass evaluated expressions in callbacks. For example,
<div jqyoui-draggable="{onStart:'startCallback({{item}})'}">{{item.title}}</div>
<div jqyoui-draggable="{onStart:'startCallback(item)'}">{{item.title}}</div>
If you're having problems with using the project, use the support forum at CodersClan.
Overall
Maintained
Code review
Latest release
Releases this year
3,881 followers · starred May 2014
32 followers · starred Jan 2014
900 followers · starred Oct 2015
98 followers · starred Aug 2015