Skip to contents

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".

Value

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

Details

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

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