powered by
Adds an animated progress bar to all slides.
use_progress_bar( color = "red", location = c("top", "bottom"), height = "0.25em" )
An htmltools::tagList() with the HTML dependencies required for progress bar.
htmltools::tagList()
A valid CSS color to be used as the color of the progress bar.
One of "top" or "bottom".
"top"
"bottom"
A valid CSS unit specifying the height of the progress bar.
xaringanExtra::use_progress_bar("red", "top", "0.25em")
Run the code above in your browser using DataLab