Description Usage Arguments Examples
Build a materialize badge
1 2 3 4 | material_badge(inputId, label = NULL, color = NULL)
update_material_badge(inputId, label = NULL,
session = shiny::getDefaultReactiveDomain())
|
inputId |
String. The input identifier used to access the value. |
label |
String. The badge label |
color |
String. The color name of the badge Leave empty for '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 | require(materializer)
material_badge(
inputId = "example_button",
label = "4",
color = "blue lighten-2"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.