Let web viewer load before it comes

Hey community, I want to make my web viewer load before it comes, it will load until the web viewer comes

There is not a specific block for this but there is a hack using the Web API blocks that used to work for checking if a site was failing.

  • Create a get call with the site’s address as the URL. Do that during a screen open event.
  • Use the green error block to determine if there is an error with the site
  • Within the then do portion of the API block, if there is an error you can set the web viewer to invisible or display it if there is no error.

I mean loading animation by conting number 1 to 100

I am not quite sure I follow. Can you show us what blocks you have used so far?

Like this


In my another topic I’ve asked about mini app so as you told me when I do all the web viewer is not showing anything until the site comes it is just white. So I want let it count like this until the web viewer comes