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.
valueBoxModule(input, output, session, value, subtitle = function() NULL)
the Shiny server input
the Shiny server output
the Shiny server session
Either a reactive or an R object that can be coerced into a string. The value to be displayed in the value box.
reactive to dynamically set the subtitle. Set the "subtitle" argument
of valueBoxModuleUI()
to "__server__" to display this subtitle.
`valueBoxModule` also allows for more custom styling of the box colors than `shinydashboard::valueBox()`.