问题
I am newbie to angularjs
. currently I am working with a project for drag and drop
but with pure jquery ui I am able to drag and drop
but whenever I am going to include this with angularjs then I am unable to drag
Here is the jsfiddle for what I have done
How can I inclucde with jquery ui
with angularjs
Update :
Here is the jsfiddle for drag and drop with pure jquery ui
http://jsfiddle.net/ucerturohit/zHZxp/
回答1:
You need an extra library to make drag and drop work with angular js. There are many available on the internet. But What I would personally recommend is this one :
Drag and Drop for AngularJS
examples :
- http://codef0rmer.github.io/angular-dragdrop/#/list
- http://codef0rmer.github.io/angular-dragdrop/#/mvc
来源:https://stackoverflow.com/questions/17588394/unable-to-drag-and-drop-with-angular-js