Description Usage Arguments Examples
View source: R/input-toggle-pct.R
Radio buttons to toggle between number and percentage.
1 | input_toggle_pct(inputId, label = "as", size = "sm", ...)
|
inputId |
the input slot that will be used to access the value. |
label |
label to display alongside the buttons |
size |
size of the radio buttons ('sm', 'xs', or 'lg') |
... |
additional parameters to pass to
|
1 2 3 4 5 | ## Not run:
input_toggle_pct('show_pct') %>%
shinybones::preview_component()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.