Skip to contents

Wraps a Shiny UI element with a spinner to indicate loading or processing activity.

Usage

tag_spinner(tag_to_pass, color = "#cce5f3")

Arguments

tag_to_pass

The Shiny UI element to wrap with a spinner. Required.

color

A character string specifying the spinner color in hexadecimal format. Default is `"#cce5f3"`.

Value

A UI element wrapped with a spinner.

Examples

if (FALSE) { # \dontrun{
tag_spinner(shiny::textOutput("output_id"))
} # }