admin管理员组文章数量:1389897
I am working on Angular JS draggable directive. My code is similar to this Plunker
Both my code and this plunker work perfectly on windows when operating with mouse. But on any tab where touch is involved it is not working at all. what might be the reason behind this? any idea how to make it work?
I am working on Angular JS draggable directive. My code is similar to this Plunker
Both my code and this plunker work perfectly on windows when operating with mouse. But on any tab where touch is involved it is not working at all. what might be the reason behind this? any idea how to make it work?
Share Improve this question asked Jan 2, 2014 at 12:07 Aditya PonksheAditya Ponkshe 3,9104 gold badges42 silver badges58 bronze badges 1- 1 Hey did you manage to make it work? If so an example would be great! – w0ns88 Commented Apr 5, 2017 at 12:19
1 Answer
Reset to default 4A directive was implemented to control touch events, it is ngTouch. You can find more information here:
http://docs.angularjs/api/ngTouch
I additionally I think this post can be helpful:
Javascript Drag and drop for touch devices
本文标签: javascriptHow make angular js draggable elements work on tablet (on touch)Stack Overflow
版权声明:本文标题:javascript - How make angular js draggable elements work on tablet (on touch) - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744596003a2614782.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论