View source: R/shiny-add-ons.R
Widget indicating when data in the Shiny session is being loaded, (typically data being fetched from a webservice). Heavily based on the busy-indicator function implemented in the ShinySky package.
1 2 3 | loading_indicator(wait_text = "Data is being loaded",
gif = "mycroftr/loading-indicator/loading-indicator.gif",
wait_time = 1000)
|
wait_text |
A character string with the text to be displayed while loading. |
gif |
path to the gif that is to be diaplayed. |
wait_time |
The amount of time to wait before showing the loading indicator. The default time is 500 corresponding to 0.5 second. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.