HTML component: resume behaviour

I would like to retain the content of an HTML component when the resume function runs.
What I mean by this is that the html component keeps it content after the user navigated away from the view and navigated back to the view by closing a view higher up in the view stack.

Is this possible?

Unfortunately, there is not default behavior available that would resume the HTML component to its previous state. The HTML component is re-initializing each time a user navigates to that view. In order to have this behavior, the state changes would need to be managed and saved, and would need to be applied when the HTML component is reinitialized.