use_progress_bar | R Documentation |
Adds an animated progress bar to all slides.
use_progress_bar(
color = "red",
location = c("top", "bottom"),
height = "0.25em"
)
color |
A valid CSS color to be used as the color of the progress bar. |
location |
One of |
height |
A valid CSS unit specifying the height of the progress bar. |
An htmltools::tagList()
with the HTML dependencies required for
progress bar.
xaringanExtra::use_progress_bar("red", "top", "0.25em")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.