valueBoxModule {shinyFeedback} | R Documentation |
valueBoxModule
Description
Server function for the 'valueBoxModule'. 'valueBoxModule' is similar to 'shinydashboard::valueBox()' but it moves the UI from the server to the ui ( i.e. the entire box is not rendered when the value in the value box updates; only the actual value is rerendered). By moving the box content to the UI the value box does not flash onto the screen when rendered.
Usage
valueBoxModule(input, output, session, value, subtitle = function() NULL)
Arguments
input |
the Shiny server input |
output |
the Shiny server output |
session |
the Shiny server session |
value |
Either a reactive or an R object that can be coerced into a string. The value to be displayed in the value box. |
subtitle |
reactive to dynamically set the subtitle. Set the "subtitle" argument
of |
Details
'valueBoxModule' also allows for more custom styling of the box colors than 'shinydashboard::valueBox()'.