use_progress_bar {xaringanExtra} | R Documentation |
Add an animated progress bar
Description
Adds an animated progress bar to all slides.
Usage
use_progress_bar(
color = "red",
location = c("top", "bottom"),
height = "0.25em"
)
Arguments
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. |
Value
An htmltools::tagList()
with the HTML dependencies required for
progress bar.
Examples
xaringanExtra::use_progress_bar("red", "top", "0.25em")
[Package xaringanExtra version 0.8.0 Index]