withWhirligig: Add a load spinner to UI element that is displayed when...

Description Usage Arguments Details Value

Description

The looks of the spinner can be changed via css. Classes: "whirligig" and "show-spinner" are used, and the color is taken from var(–whirligig-color).

Usage

1

Arguments

...

will be passed to shiny::div

Details

For example, changing color can be done by passing in a class name for the container (class = "foo") and then in css:

.foo .whirligig –whirligig-color: pink;

The shape and animation can be redifined with .whirligig.show-spinner:after -css-selector

Just play around with the file whirligig.css on your browser!

Value

... wrapped in shiny::div that contains spinner


lawrencecrane/shiny.whirligig documentation built on June 1, 2019, 12:52 p.m.