busy: Busy or not

Description Usage Arguments Details Value

View source: R/busy.R

Description

Displays a spinner indicating if there are any calculations running on the server side.

Usage

1
busy(loader = "dots", position = "top right")

Arguments

loader

character or list. If character given, then it selects from one of a few available loaders (look Details for more). By using list you can create your custom loder. List needs to have structure loader <- list(css<-"CSS CODE", html <- div("CODE TO DISPLAY")).

position

character with position of the parameter. Default "top right".

Details

Currently available loaders: "dots", "spinner".

Solution inspired by: https://colinfay.me/watch-r-shiny/.

Value

shiny tag List with js script, style of spinner and display div


shiny.info documentation built on March 23, 2020, 5:07 p.m.

Related to busy in shiny.info...