checkbox {reactCheckbox}R Documentation

Define a checkbox

Description

Define a checkbox by its label, its value, and optionally a CSS class.

Usage

checkbox(label, value, class = "")

Arguments

label

the label of the checkbox, can be an ordinary character string, a html character string made with the HTML function, or a shiny.tag object

value

the initial value of the checkbox, TRUE (checked), or FALSE (unchecked)

class

the name of a CSS class to attach to the checkbox, that should be defined with checkboxStyle

Value

A named list, to be used in reactCheckboxesInput.


[Package reactCheckbox version 1.0.0 Index]