View source: R/utils_collapsible.R
collapsibleUI | R Documentation |
A shiny module to get a div collapsed by clicking on a link.
collapsibleUI(id, label, .hidden = TRUE, ..., class = NULL) collapsible(id)
id |
character. An ID string that corresponds with the ID used to call the module's UI function. |
label |
character. A label appearing on the clickable link. |
.hidden |
logical. A flag to make the UI display as collapsed or not. |
... |
shiny UI elements. Any UI element displayed as core content. |
class |
character. CSS class to apply to ... . |
collapsible
: Server part for collapsible widget module.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.