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


#1

Hi,

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.


#2

You can use a persistent object.


#3

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


#4

and

https://tumult.com/hype/documentation/3.0/#persistent-symbols


#5

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.