Trying to determine if this dcc.interval disabled boolean property is the only way to disable the callback function. If so, do I simply add it to the html.div and a button appears? The documentation doesn't seem very clear. I don't see an example anywhere of its' usage.
Is it this easy:
app.layout = html.Div(
html.Div([
#html.H4('my dash/plotly graph'),
dcc.Graph(id='live-update-graph'),
dcc.Interval(
id='interval-component',
interval=1*1000, # in milliseconds
n_intervals=0,
--> disabled=False <--
)
])
)
And the a button appears, or is it more involved? Like setting a button, setting your inputs/ouputs in the callback decorator and so on?
If so, it seems overly involved for just wanting to stop the callback.