Forum Forum

Retour

Saving the current state of drag & drop interactions

Bascule
By default a drag and drop interaction resets its state once you leave the page. Is there a way to retrieve the last status once a user comes back to the page?

Ideas are welcome! Thanks, Peter
0 (0 Voter)

RE: Saving the current state of drag & drop interactions
Réponse
03/05/21 19:02 en réponse à Peter Huppertz.
Hi Peter,
Yes, you can store and restore DnDs. We were initially thinking Maps might help, but decided to go with Lists instead. Here's a video and a sample lesson. You can jump to about the 3:45 mark to bypass the stuff on Maps, and just get to the solution.
https://share.smartbuilder.com/public/support/dnd-store-restore-state.mp4
https://share.smartbuilder.com/public/support/dnd-store-restore-state.sb4

Let us know how it goes!

- Nav
0 (0 Voter)