Update meta tags dynamically during app run?

Hey,

I have built a Dash app with functionality to select a colour scheme within the app. I am keen to use the “theme-color” meta tag to extend the colour scheme to the browser window.

I am aware meta tags can be set in dash.Dash(meta_tags=) and app.index_string, and this does work for a pre-specified colour, however I am keen to change this meta tag whilst the app is actually running to reflect the colour scheme selected.

Is there any way to do this in Dash?

Thanks

1 Like