Create a Bootstrap 4 progress bar.
attendantBar( id, value = 0, min = 0, max = 100, text = NULL, color = c("primary", "info", "success", "danger", "warning"), striped = FALSE, animated = FALSE, height = 20, width = "100%", class = "", style = "", bg_color = "#f5f5f5", hidden = FALSE )
id | A unique identifier for the progress bar.
Used in |
---|---|
value, min, max | Initial value, minimum, and maximum values the progress bar can take. |
text | Optional text to display on the progress bar.
This can then be dynamically modified with |
striped | Whether the progress bar should be striped. |
animated | Whether to animate the stripe on the progress bar. |
height | Height of the progress bar, numerical values
are converted to pixels ( |
width | Width of the bar, defaults to |
class, style | Additional style and class to pass to the parent wrapper of the progress bar. |
bg_color, color | Color, and background color of the progress bar. |
hidden | Set to |