Description Usage Arguments Examples
The material Collapsible UI Element
1 2 3 4 5 | material_collapsible(inputId, cllist, class = "accordion",
headercolor = "white", bodycolor = "white", color = NULL)
update_material_collapsible(inputId, cllist,
session = shiny::getDefaultReactiveDomain())
|
inputId |
String. The input identifier used to access the value. |
cllist |
List. The collapsible element list. The list need to contain a 'name' and 'content' element, in adition could contain 'icon', 'badge' and 'active' (logical) elements. |
class |
String. A class type for UI Collapsible. Values should be 'accordion', 'expandable' or 'popout'. |
headercolor |
String. The color name of header. Leave empty for 'white' color. Visit http://materializecss.com/color.html for a list of available colors. |
bodycolor |
String. The color name of body. Leave empty for 'white' color. Visit http://materializecss.com/color.html for a list of available colors. |
color |
String. The color name of the text and icons. Leave empty for the 'teal lighten-1' color. Visit http://materializecss.com/color.html for a list of available colors. |
session |
Shiny default reactive domain. |
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.