input_panel_server: Show/Hide and Provide Info on an Input Panel

View source: R/utils_input_panel_server.R

input_panel_serverR Documentation

Show/Hide and Provide Info on an Input Panel

Description

'input_panel_server()' provides methods to show/hide an input panel by clicking on the title, as well as get more information by clicking on the info link. The info link should be named '"id_info"'.

Usage

input_panel_server(
  id,
  toggle_time,
  info,
  info_label = paste0(id, "_info()"),
  session = getDefaultReactiveDomain()
)

Arguments

id

The panel ID (technically the id of the title)

toggle_time

The amount of time (in seconds) it takes to show/hide the panel

info

A 'tagList', tag, or text to display when info link is clicked

info_label

A label for the info observer; defaults to '"id_info()"'

session

The shiny 'session' object; the default is usually appropriate

Value

The output of a 'bindEvent' call


jesse-smith/covidscreen documentation built on June 15, 2022, 7:46 p.m.