R/collapse_button.R

Defines functions collapse_button

collapse_button <- function(x, tabPanelName) {

  HTML(
    paste0("<button data-toggle='collapse' style='font-size:smaller' data-target=",
           "'#",
           tabPanelName,
           x,
           "'",
           ">",
           x,
           "</button>")
  )
}

Try the loon.shiny package in your browser

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

loon.shiny documentation built on Oct. 8, 2022, 5:05 p.m.