(n_clicks)
| 374 | Output("output", "children"), Input({"type": "btn", "index": ALL}, "n_clicks") |
| 375 | ) |
| 376 | def func(n_clicks): |
| 377 | if ctx.triggered: |
| 378 | triggered_id, dict_id = next(iter(ctx.triggered_prop_ids.items())) |
| 379 | |
| 380 | assert dict_id == ctx.triggered_id |
| 381 | |
| 382 | if dict_id == {"type": "btn", "index": "myindex"}: |
| 383 | return dict_id["index"] |
| 384 | |
| 385 | dash_duo.start_server(app) |
| 386 |
no outgoing calls
no test coverage detected
searching dependent graphs…