powered by
This creates a checkbox using Semantic UI styles.
simple_checkbox(id, label, type = NULL, is_marked = TRUE, style = NULL)
Input name. Reactive value is available under input[[name]].
Text to be displayed with checkbox.
Type of checkbox.
Defines if checkbox should be marked. Default TRUE.
Style of the widget.
The inputs are updateable by using updateCheckboxInput.
updateCheckboxInput
The following types are allowed:
type
NULLThe standard checkbox (default)
toggleEach checkbox has a toggle form
sliderEach checkbox has a simple slider form
# NOT RUN { simple_checkbox("example", "Check me", is_marked = FALSE) # }
Run the code above in your browser using DataLab