How I can know when all the elements are ready when I use the navigator to change screen?
-
Hello, I have a very big problem. When I change the screen of my app I need to play with DOM, but the elements aren’t load yet. How I can know when elements are ready?
Thanks!
-
You can add an event listener to the page’s
init
event for the first time it is loaded, or theshow
event for every time it is shown.