Add meta tag
wch opened this issue · comments
Winston Chang commented
Barret Schloerke commented
Already supported. 🎉
import shiny
a = shiny.ui.page_bootstrap().get_dependencies()[1]
a.meta
#> [{'name': 'viewport', 'content': 'width=device-width, initial-scale=1'}]
import shinyswatch
d = shinyswatch.theme.darkly()
d
#> [<HTMLDependency "bootstrap-no-files-5.2.2">, <HTMLDependency "bootstrap-9999">, <HTMLDependency "bootstrap-js-5.2.2">, <HTMLDependency "bootswatch-darkly-and-bootstrap-5.2.2">]
d[0].meta
#> [{'name': 'viewport', 'content': 'width=device-width, initial-scale=1'}]
Closing.