Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Global loading state

$
0
0

Is it possible to connect the update_title to work with dcc.Loading. SO that the loading shows as long as dash is updating any component?
To clarify: i would like there to be a visble loading component that is visible as long as dash is processing information.

@app.callback(
Output(component_id=‘loading-output-1’, component_property=‘children’),
[Input(component_id=‘cl’, component_property=‘data’)]
)
def showspinner(value):
time.sleep(0.2)
return ‘’

So far i have this. But i want to avoid having every component as an input. Is there a way compact way of doing this?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles