-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Events should also return the element #105
Comments
I second this. |
Right now the workaround is to keep a copy of the sorted array and sort it when sortable sorts its array. Then with newIndex I can find the element. This is how its done in the docs. It wouldnt be required to do that when the event would simply return the element aswell. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
within the events I need to know the id of my element, but I cant access the element:
This is because I need to know which item exactly has changed because possibly two items can have the same order.
The text was updated successfully, but these errors were encountered: