MCPcopy
hub / github.com/plotly/dash / on_click

Function on_click

tests/integration/callbacks/test_arbitrary_callbacks.py:32–34  ·  view source on GitHub ↗
(n_clicks)

Source from the content-addressed store, hash-verified

30 prevent_initial_call=True,
31 )
32 def on_click(n_clicks):
33 set_props("secondary-output", {"children": "secondary"})
34 return f"Clicked {n_clicks} times"
35
36 dash_duo.start_server(app)
37

Callers

nothing calls this directly

Calls 1

set_propsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…