Description Usage Arguments Examples
Build a materialize checkbox. The value is a boolean (TRUE if checked, FALSE if not checked).
1 2 3 4 5 | material_checkbox(inputId, label, checked = FALSE, class = "filled-in",
color = NULL)
update_material_checkbox(inputId, label = NULL, checked = FALSE,
session = shiny::getDefaultReactiveDomain())
|
inputId |
String. The input identifier used to access the value. |
label |
String. The checkbox label. |
checked |
Boolean. Is the checkbox initially checked? |
class |
String. Aditional class for checkbox. Values should be filled-in or NULL |
color |
String. The color name of the Checkbox. Leave empty for the 'teal lighten-1' color. Visit http://materializecss.com/color.html for a list of available colors. |
session |
Shiny default reactive domain. |
1 2 3 4 5 6 7 | require(materializer)
material_checkbox(
inputId = "example_checkbox",
label = "Checkbox",
checked = TRUE,
color = 'teal lighten-1'
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.