helper function to include panels in shiny apps
1 2 3 |
inputId |
The input slot that will be used to access the value. |
... |
Panel contents. |
heading |
Panel heading. |
text_size |
Size for panel heading (NULL = do not change text size, 'small' = 75% size, 'large' = 150% size). |
styleclass |
A Bootstrap style to apply to the button. ( |
checkbox |
logical - add checkbox to left of panel header. |
collapsible |
logical - Create a collapsible panel. |
removeButton |
logical - Include a button to remove the panel. |
icon |
Name of a glyphicon icon to include to the right of panel header. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.