R/utils-shiny.R
create_checkbox_tag.Rd
Used internally by toggle_input_386 and checkbox_input_386
create_checkbox_tag( inputId, label, value = FALSE, width = NULL, type = c("switch", "checkbox") )
inputId | The |
---|---|
label | Display label for the control, or |
value | Initial value ( |
width | The width of the input, e.g. |
type | Input type. This is to be able to distinguish between switch and checkbox, which have slightly different design. |
An input tag.