vbox_reactive.Rd
builds the div for a reactive shiny value box
vbox_reactive(
label = "label",
textid = "textOutput_here",
col = "rgba(60,130,180,0.5)"
)
The value box header label to appear- character of length one
The value - A character vector of length one, optionally the textOutput of a reactive value if using vbox_reactive
Bkgrd col- A character of rbg(), rgba(), or a chtml olor name to recognixed in R
A character vector of the div tree to be rendered in the ui of a shiny app
vbox_reactive('Label','YourTextOutputIdHere')
#> <div style="border-radius: 15px; border-style: solid; border-color:transparent; padding:0px; margin:0px 10px; width:200px; color:white; font-weight: 300; text-color:blue; text-align:center; background-color:rgba(60,130,180,0.5);">
#> <h5 style="color:white;">Label</h5>
#> <h2 style="font-weight:bold;display: inline-block;vertical-align:top;color:white;">
#> <div id="YourTextOutputIdHere" class="shiny-text-output"></div>
#> </h2>
#> </div>