busy {shiny.info}R Documentation

Busy or not

Description

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

Usage

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


[Package shiny.info version 0.2.0 Index]