Is there any function or event listener we can use to trigger function once all the assets are loaded and the page is displayed ?
I would like to do some animation when entering the page, but if I launch it during the setup, it's already finished before the page actually render...