N
N
n0thing2014-12-05 18:19:43
Angular
n0thing, 2014-12-05 18:19:43

How to add movement animation of elements when moving in ui-sortable in Angularjs?

Faced with the need to add animation, or rather slow down the movement of elements when sorting. Those. if we have, for example, 3 elements and we drag 1 over 2m and 3, then it is necessary that the 2nd and 3rd elements change their position smoothly, and not jump abruptly.
I found examples, but for jquery ui ( codepen.io/svenson/pen/64d6c37b3441c4f3e074f24c17b... and in this library this animation can be set in ms - https://github.com/RubaXa/Sortable.
How to repeat a similar effect for Angular' a?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lebedyncrs, 2015-01-21
@lebedyncrs

https://github.com/a5hik/ng-sortable

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question