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

Persist moved cell after dragging. Closing and re-opening simulator. #19

Open
lauriejhouse opened this issue Feb 19, 2019 · 1 comment

Comments

@lauriejhouse
Copy link

I was wondering if it was possible to persist/save where the cell is dragged to after closing and reopening the simulator?

@pirogman
Copy link
Contributor

pirogman commented Apr 3, 2021

As shown in the example, dragging also modifies the array of items, so just save it when dragging ended. That's assuming you load it initially and not just creating it in view did load.

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