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

Description Usage Arguments

View source: R/switchButton.R

Description

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

Usage

1
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.


bioCancer documentation built on Nov. 8, 2020, 6:26 p.m.