留言板 留言板

返回

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
答复
21-5-3 下午7:02 回复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 票)