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

Access the loading state of a component

$
0
0

@kcesc04 wrote:

Hello,

I want to access the loading state of an output component. is it possible

@app.callback(Output(“loading-output-1”, “figure”), [Input(“input-1”, “value”)])
def input_triggers_spinner(value):
# here something like dcc.Graph(“loading-output-1”, “figure”).loading_state
time.sleep(1)
return value

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images