Action on page load - how to do it?

I have a text widget that I want to populate with a certain app state variable when the page loads. How can I do that instead of using an "on tap" action? Is there a "on page load" action I can use?

2
2 replies