I have to implement the toast in the dash Python app; I have a multipage app and multiple callbacks on a single page. I am using dash-bootstrap [toast] (Toast - dbc docs) for this purpose. I have to trigger the toast whenever some condition is met or something inside the callback code occurs. So to trigger this toast we need callaback,’
So the question is: how can we trigger this toast from multiple callbacks? while Dash doesn’t allow one output in multiple callbacks. So how can I achieve this?
Note: I don’t want to create multiple toast components on one page. My callbacks are dynamically created inside a loop in accordance with the current condition.