View source: R/utils_toggle_panel.R
toggle_panel_server | R Documentation |
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.
toggle_panel_server(id, input, anim = TRUE, animType = "slide", time = 0.5)
id |
The element ID |
input |
The shiny session input |
anim |
If |
animType |
The type of animation to use, either |
time |
The number of seconds to make the animation last |
The return value of 'bindEvent()'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.