Hi again! Here’s an app that doesn’t show the spinner when it loads:
https://anvil.works/build#clone:E7D7BQ7GHGHLI4EF=BXRUZAX6GSA4LAEKYXBHINAA
How it works
The spinner starts with display: block
, and when the app has finished loading, it gets set to display: none
. So if you add this CSS rule:
#loadingSpinner {
display: none;
}
the spinner starts with display: none
. The spinner still works subsequently, because the display: block
can still be set later.
That CSS rule is added to theme.css
, which can be found in Assets:
Custom spinners
You might also be interested in this Forum post about customising the spinner’s appearance.