inst/shinyApp/R/themebar.R

# Themebar : Lets you change UI theme using a bar with buttons at the bottom right of the application ----
themebar <- function(id) {
  ns <- NS(id)
  
  tagList(
    fixedPanel(
      id = NS(id, "fixed"),
      right = 5,
      bottom = 5,
      width="25%",
      style="text-align : right;"
    ),
    
    # Import Javascript for themebar, you can create/modify themes using www/themeManger.js and www/style.css
    tags$script(src = "themeManager.js")
  )
}

Try the FossilSimShiny package in your browser

Any scripts or data that you put into this service are public.

FossilSimShiny documentation built on May 29, 2024, 10:22 a.m.