View source: R/updateCollapse.R
| updateCollapse | R Documentation |
updateCollapse is used within the Server logic of your Shiny app to
modify a Collapse after load.
updateCollapse(session, id, open = NULL, close = NULL, style = NULL)
session |
The session object passed to function given to shinyServer. |
id |
The id of the Collapse object you want to change. |
open |
A vector of |
close |
A vector of |
style |
A named list of Bootstrap styles ( |
See Collapses for more information about how to use updateCollapse with the
rest of the Collapses family.
Run bsExample("Collapses") for an example
of updateCollapse functionality.
Other Collapses: Collapses;
bsCollapsePanel; bsCollapse
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.