Unable to drag and drop with angular js

╄→гoц情女王★ 提交于 2019-12-12 02:53:30

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!