toggle_panel_server: Handle a toggle panel in the Server

View source: R/utils_toggle_panel.R

toggle_panel_serverR Documentation

Handle a toggle panel in the Server

Description

A toggle panel is a panel with show/hide functionality by clicking on the title and additional info by clicking on an info button. 'toggle_panel_server()' defines the logic for show/hide and click events.

Usage

toggle_panel_server(id, input, anim = TRUE, animType = "slide", time = 0.5)

Arguments

id

The element ID

input

The shiny session input

anim

If TRUE then animate the behaviour

animType

The type of animation to use, either "slide" or "fade"

time

The number of seconds to make the animation last

Value

The return value of 'bindEvent()'


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