Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Updating external_stylesheets via callback?

$
0
0

@philphi wrote:

So usually you would do something like:

external_stylesheets = [‘https://codepen.io/chriddyp/pen/bWLwgP.css’]

app = dash.Dash(name, external_stylesheets=external_stylesheets)

Suppose I’d like to give users the option to pick a theme that updates the external_stylesheets, for example between dash bootstrap components dbc.themes.LUX and dbc.themes.YETI (but not both). So I’d like to be able to replace the external_stylesheets using radio item callbacks, is this possible?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles