Skip to content
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

What is returned from onResorted? #6

Open
simonwielens opened this issue Apr 2, 2016 · 1 comment
Open

What is returned from onResorted? #6

simonwielens opened this issue Apr 2, 2016 · 1 comment

Comments

@simonwielens
Copy link

if I have an array ['a', 'b', 'c'], and I swap the first and last element, what is the format of the array that gets returned from the onResorted hook? it looks like one of the elements becomes an array?

@conor909
Copy link

conor909 commented May 5, 2016

it just returns your new list as an array, the old position and the new position
onResorted(items, oldposition, newposition) {...}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants