Description Usage Arguments Author(s) Examples
AdminLTE3 progress bar
1 2 3 4 5 6 7 8 9 10 11 |
value |
Progress bar value. |
label |
Progress label. NULL by default. |
min |
Progress bar minimum value. |
max |
Progress bar maximum value. |
vertical |
Whether to display the progress bar in vertical mode. FALSE by default. |
striped |
Whether the progress bar is striped or not. FALSE by default. |
status |
Progress bar status. "primary", "success", "warning", "danger" or "info". |
size |
Progress bar size. NULL, "sm", "xs" or "xxs". |
animated |
Whether to animate the progress bar. Default to FALSE. |
David Granjon, dgranjon@ymail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | if(interactive()){
library(shiny)
library(bs4Dash)
shiny::shinyApp(
ui = bs4DashPage(
navbar = bs4DashNavbar(),
sidebar = bs4DashSidebar(),
controlbar = bs4DashControlbar(),
footer = bs4DashFooter(),
title = "test",
body = bs4DashBody(
title = "Progress bars",
bs4Card(
title = "Progress bars",
footer = tagList(
bs4ProgressBar(
value = 5,
size = "xxs",
striped = FALSE,
status = "info"
),
bs4ProgressBar(
value = 25,
striped = TRUE,
status = "warning",
label = "25%"
)
),
bs4ProgressBar(
value = 80,
vertical = TRUE,
status = "success"
),
bs4ProgressBar(
value = 100,
vertical = TRUE,
striped = TRUE,
size = "sm",
status = "danger",
animated = TRUE
)
)
)
),
server = function(input, output) {}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.