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

[Question] Programmatically trigger Slip actions #93

Open
itaditya opened this issue Oct 18, 2017 · 2 comments
Open

[Question] Programmatically trigger Slip actions #93

itaditya opened this issue Oct 18, 2017 · 2 comments

Comments

@itaditya
Copy link

Hey there awesome work with the plugin. I want to trigger a rearrange of list via my js code and not from the user interaction.

Basically I have to just use the pushing-out of other elements effect so that when I programmatically move one item to the top, it does so by moving up and pushing the upper elements downwards.
Can this be done with Slip.

@kornelski
Copy link
Owner

There's no function for this. You could try to copy code of reorder state's onEnd().

@itaditya
Copy link
Author

Ok

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