We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be great if the controllbar icon could be changed. E.g. add an "icon =" argument to dashboardControlbar()
The text was updated successfully, but these errors were encountered:
+1 for now we can do:
library(shiny) library(bs4Dash) shinyApp( ui = dashboardPage( header = dashboardHeader(), sidebar = dashboardSidebar(), controlbar = dashboardControlbar( overlay = TRUE, "Control bar content" ), footer = dashboardFooter(), body = dashboardBody( tags$h2("Main Content"), tags$script(HTML(" document.addEventListener('DOMContentLoaded', function() { const controlbarToggle = document.getElementById('controlbar-toggle'); if (controlbarToggle) { const icon = controlbarToggle.querySelector('i'); if (icon) { icon.className = 'fas fa-cog'; icon.setAttribute('aria-label', 'cog icon'); } } }); ")) ) ), server = function(input, output) {} )
Sorry, something went wrong.
No branches or pull requests
It would be great if the controllbar icon could be changed. E.g. add an "icon =" argument to dashboardControlbar()
The text was updated successfully, but these errors were encountered: