Description Usage Arguments Examples
View source: R/shiny-material-input.R
Build a shinymaterial input.
1 |
type |
String. The type of input to be created. |
... |
Additional arguments for the input. |
1 2 3 4 5 6 7 8 | ##-- switch --##
material_input(
type = "switch",
input_id = "example_switch",
off_label = "Off",
on_label = "On",
initial_value = TRUE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.