View source: R/valueBoxOutput.R
valueBoxOutput | R Documentation |
This is the UI-side function for creating a dynamic valueBox()
or
infoBox()
.
valueBoxOutput(outputId, width = 4)
infoBoxOutput(outputId, width = 4)
outputId |
Output variable name. |
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 |
renderValueBox()
for the corresponding server-side
function and examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.