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)The session object passed to function given to shinyServer.
The id of the Collapse object you want to change.
A vector of value (or title if no value was
provided) values identifying the panels you want to open.
A vector of value (or title if no value was
provided) values identifying the panels you want to close.
A named list of Bootstrap styles (primary, danger, info,
warning, success, or default). The names should correspond
to the value (or title if no value was provided) of the
bsCollapsePanel you want to change.
See Collapses for more information about how to use updateCollapse with the
rest of the Collapses family.
Other Collapses: Collapses;
bsCollapsePanel; bsCollapse