a5hik / ng-sortable

AngularJS Library for Drag and Drop, supports Sortable and Draggable. Supports Touch devices.

Home Page:http://a5hik.github.io/ng-sortable/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues with itemMoved callback

jefff888 opened this issue · comments

I have been trying to add callback code to itemMoved, yet I never see control flow through this callback function. console.log statements are never executed and debug breakpoints are not hit. The other callbacks I've tried work for me.

Also, when I look at the ng-sortable code, I don't understand how the moveFailure or moveSuccess functions would ever get called as documented. They are functions local to a specific callback instance and I think would not be accessible to the asSortable directive.