switchButton: A function to change the Original checkbox of rshiny into a...

Description Usage Arguments

Description

To be used with CSS script 'button.css' stored in a 'www' folder in your Shiny app folder

Usage

1
2
switchButton(inputId, label = NULL, value = FALSE, col = "GB",
  type = "TF")

Arguments

inputId

The input slot that will be used to access the value.

label

Display label for the control, or NULL for no label.

value

Initial value (TRUE or FALSE).

col

Color set of the switch button. Choose between "GB" (Grey-Blue) and "RG" (Red-Green)

type

Text type of the button. Choose between "TF" (TRUE - FALSE), "OO" (ON - OFF) or leave empty for no text.


kmezhoud/papSmear documentation built on May 25, 2019, 8:32 p.m.