Retaining the state of a Hype scene with an widjet in an iFrame


I have main application in Hype in one of the scenes I am inserting an HTML matching activity widget using Angular JS. Ones user completes this activity and navigates away from the scene, the state is gone. Since the activity is a widget – it’s in iframe.
If someone has a suggestion how to solve it without using local storage, much appreciated, thank you.

You can use a persistent object.

Thank you, I’ve never used one, would you mind sending a link where I can read about it?


Thank you for sharing the link. These would not work in my case, since I have to retain the state of an html widjet written in Angular JS inside Hype shell. Will try fixing it using Angular JS session storage. Never worked with that before hope that Hype’s scene properties will not affect it.