How to detect long press event to drag and rearrange elements in angularjs

342 Views Asked by At

I have an ng-repeat through which I am displaying students cards.

I just want to rearrange their order as specified in question.

In what way I can do it?

1

There are 1 best solutions below

0
user2971735 On

you can use ngDraggable library. ng-drag-data automatically detect long press