1
使用角度绑定真正有帮助,而不是jQuery来操纵DOM,但我不知道如何处理没有jQuery的拖动事件,例如,我想要拖动第二个框到第一个或拖动-repeat li更改订单角度js是否有拖动事件或拖动指令?
确实有角度拖动事件或指令?
<div>
<li>This is first box</li>
<li>This is second box</li>
</div>
//or like below
<div><li ng-repeat="box in boxs | orderBy:'order'">{{box.name}}{{box.order}}</li></div>
你试过吗? http://angular-ui.github.io/ng-grid/ – finishingmove
或者http://codef0rmer.github.io/angular-dragdrop/#/ – finishingmove
你需要这个问题的更多帮助吗? –