View source: R/widget-display.R
| spinner | R Documentation |
A small animation showing that work is in progress. It runs on a timer of the widget, so it stops automatically when the widget is removed.
spinner(
label = "",
type = "dots",
interval = 0.1,
id = NULL,
classes = NULL,
style = NULL
)
label |
Text shown after the spinner. |
type |
|
interval |
Seconds per frame. |
id |
Optional identifier. |
classes |
Optional classes. |
style |
A |
A Spinner with reactive label and spinning.
spinner("Loading data...")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.