לוחות מודעות לוחות מודעות

חזרה

Saving the current state of drag & drop interactions

מתג
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 הצבעות)

RE: Saving the current state of drag & drop interactions
תשובה
19:02 03/05/21 כתגובה ל-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 הצבעות)