loading_indicator: Widget indicating when data in the Shiny session is being...

Description Usage Arguments

View source: R/shiny-add-ons.R

Description

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.

Usage

1
2
3
loading_indicator(wait_text = "Data is being loaded",
  gif = "mycroftr/loading-indicator/loading-indicator.gif",
  wait_time = 1000)

Arguments

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.


AKLLaursen/mycroftr documentation built on May 5, 2019, 11:30 a.m.