Learn R Programming

bsTools (version 1.0.5)

bs_spinner: Create a Bootstrap spinner

Description

Learn more at https://getbootstrap.com/docs/5.1/components/spinners/.

Usage

bs_spinner(div_attr = c(class = "spinner-border text-primary"))

Value

A string of HTML.

Arguments

div_attr

A named list or named vector, names are attribute names and values are attribute values. Added to the div displaying the spinner.

Examples

Run this code
bs_spinner()

Run the code above in your browser using DataLab