R/button_freeze.R

Defines functions toggleBtnSPivot

#' Enable / Disable a Button
#'
#' @param session shiny session.
#' @param inputId Input's id to enable / disable.
#' @param type 'enable' or 'disable'.
#'
#' @noRd
toggleBtnSPivot <- function(session, inputId, type = "disable") {
  session$sendCustomMessage(
    type = "togglewidgetShinyPivot",
    message = list(inputId = inputId, type = type)
  )
}

Try the shinypivottabler package in your browser

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

shinypivottabler documentation built on Jan. 6, 2023, 5:25 p.m.