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
你需要這個問題的更多幫助嗎? –