I want a graph to be updated when the user clicks on numbers displayed on the screen. The numbers are simply embedded on a Div. Is there anyway I can achieve this?
@ber.sg - Every dash_html_components
component has a property called n_clicks
which is automatically updated whenever you click on the element. This is commonly used for html.Button
(see https://plot.ly/dash/dash-core-components) but it could be used for any other html
component as well.
1 Like