This announcement includes a nice example of pattern matching callbacks: 📣 Dash v1.11.0 Release - Introducing Pattern-Matching Callbacks
It sounds like what you are looking for.
This announcement includes a nice example of pattern matching callbacks: 📣 Dash v1.11.0 Release - Introducing Pattern-Matching Callbacks
It sounds like what you are looking for.