Create a custom shinydashboard box with interactive capabilities
1 2 3 4 5 6 7 8 9 10 11 |
... |
Contents of the box. |
id |
Box unique id. updateBox2 target. |
title |
Optional title. |
footer |
Optional footer text. |
background |
If NULL (the default), the background of the box will be white. Otherwise, a color string. Valid colors are listed in validColors. |
width |
The width of the box, using the Bootstrap grid system. This is
used for row-based layouts. The overall width of a region is 12, so the
default valueBox width of 4 occupies 1/3 of that width. For column-based
layouts, use |
height |
The height of a box, in pixels or other CSS unit. By default the height scales automatically with the content. |
collapsible |
If TRUE, display a button in the upper right that allows the user to collapse the box. |
collapsed |
If TRUE, start collapsed. This must be used with
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.