R/hide_show_multiple_ids.R

Defines functions show_multiple_ids hide_multiple_ids

hide_multiple_ids <- function(ids) {
  stopifnot(is.character(ids))
  
  for (i in seq_len(length(ids))) {
    shinyjs::hide(ids[i])
  }
}

show_multiple_ids <- function(ids) {
  stopifnot(is.character(ids))
  
  for (i in seq_len(length(ids))) {
    shinyjs::show(ids[i])
  }
}

Try the FAST.R package in your browser

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

FAST.R documentation built on June 22, 2024, 6:48 p.m.