Wrapper around shiny::checkboxInput
1 2 3 |
id |
A unique string id for the checkbox. If your code is modularised, remember to wrap the id with the relevant session namespace function, e.g. checkboxUI(id = session$ns("someinput")). |
label |
A label for the checkbox. |
width |
The width of the entire shiny::checkbox UI element. Must be valid css (i.e. '10%' or '150px' will work). |
custom_css |
If provided, the checkbox is wrapped in a div styled by the custom_css input. For example, one could provide custom_css = "display: inline-block;" to display the checkbox inline. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.