View source: R/widget-display.R
| progress_bar | R Documentation |
A bar filling as value goes from 0 to total, with a percentage. Set
value = NA for an indeterminate (animated) bar.
progress_bar(
value = 0,
total = 1,
show_percent = TRUE,
id = NULL,
classes = NULL,
style = NULL
)
value |
Current progress, or |
total |
Value that means complete. |
show_percent |
Show the percentage? |
id |
Optional identifier. |
classes |
Optional classes. |
style |
A |
A ProgressBar with a reactive value and method advance().
render_widget(progress_bar(0.42), 20, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.