Is there any way to use something similar to clickData outside a graph/dcc element?


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?

#2 - 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 but it could be used for any other html component as well.