Keskustelualueet Keskustelualueet

Takaisin

Saving the current state of drag & drop interactions

Vaihda
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 Ääniä)

RE: Saving the current state of drag & drop interactions
Vastaus
3.5.2021 19:02 vastaus kirjoittajalle 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 Ääniä)