valueBoxModule: valueBoxModule

Description Usage Arguments Details

View source: R/valueBoxModule.R

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

1
valueBoxModule(input, output, session, value)

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.

Details

'valueBoxModule' also allows for more custom styling of the box colors than 'shinydashboard::valueBox()'.


shinyFeedback documentation built on Jan. 8, 2021, 5:41 p.m.