Description Usage Arguments Examples
Build a materialize slider.
1 2 3 4 5 6 | material_slider(inputId, label, minval = 0, maxval = 100,
initval = minval, color = NULL)
update_material_slider(inputId, label = NULL, minval = NULL,
maxval = NULL, initval = NULL,
session = shiny::getDefaultReactiveDomain())
|
inputId |
String. The input identifier used to access the value. |
label |
String. The slider label. |
minval |
Number. The minimum value on the slider. |
maxval |
Number. The maximum value on the slider. |
initval |
Number. The initial value of the slider. |
color |
String. The color name of the slider 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 8 9 | require(materializer)
material_slider(
inputId = "example_slider",
label = "slider",
minval = 5,
maxval = 15,
initval = 10,
color = 'teal lighten-1'
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.