Learn R Programming

gentelellaShiny (version 0.1.0)

updateTileCount: updateTileCount

Description

Shiny Module for use with tileCountUI

Usage

updateTileCount(input, output, session, value, change_value, going_well,
  tile_title = " Total Users", width = 2,
  icon_in = shiny::icon("user"), from_text = " From last Week",
  highlight = shiny::reactive(NULL))

Arguments

input

shiny input

output

shiny output

session

shiny session

value

[reactive] Count value

change_value

[reactive] Change value

going_well

[reactive] If TRUE then change_value is green, else red

tile_title

Title text

width

Width of tile in bootstrap

icon_in

Icon to show

from_text

Change text

highlight

[reactive] color to highlight value

Details

Call via shiny::callModule(updateTileCount, "your_id")