How to use elements defined in the layout within a dash core components tab?

In the documentation for the dash core components tabs (Tabs | Dash for Python Documentation | Plotly), the entire content of a tab is defined within a callback and is packaged as a single html.Div item. How can I include content within a tab that is defined outside of the callback in the page layout, such as a button that itself is used as input to another callback, for example?


Iā€™m not sure if I understand your question. @adamschroeder has a video about an app with tabs:

Maybe this helps.

1 Like