✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Hide a div and show it again

I have a div and a button and would like to achieve the following:

  • After clicking the button, an extensive calculation is started and div should be replaced by an image.
    -After the calculation is finished, the div should be displayed again.

Any Idea how to do it ?

Hi @123W123 and welcome to the Dash forum!

You could try this: https://dash.plotly.com/loading-states