inst/examples/vignettes-demos/scrollToTop/app.R

library(shiny)
library(bs4Dash)

shinyApp(
  ui = dashboardPage(
    scrollToTop = TRUE,
    header = dashboardHeader(),
    sidebar = dashboardSidebar(minified = TRUE, collapsed = TRUE),
    body = dashboardBody(
      lapply(1:20, box, width = 12, title = "box")
    ),
    controlbar = dashboardControlbar(),
    title = "Scroll to top"
  ),
  server = function(input, output) { }
)
hiplot/bs4Dash2 documentation built on Dec. 20, 2021, 3:51 p.m.