checkbox: Generate an HTML checkbox input

Description Usage Arguments Examples

View source: R/helpers.R

Description

Generate an HTML checkbox input

Usage

1
checkbox(value = FALSE, title = "")

Arguments

value

initial value (TRUE or FALSE)

title

title of input

Examples

1
2
3
4
5
# Run this in a cell to display a checkbox input
input <- checkbox(value = FALSE, title = "Your title")

# In another cell, retrieve the value of the checkbox:
as.logical(input)

herbps10/Reactor documentation built on May 14, 2021, 8:04 p.m.