withWaiter: With Waiter

Description Usage Arguments

View source: R/waiter.R

Description

Adds a waiter to a rective UI element. Thew waiter is displayed when the element is invalidated then is removed when the element receives a new value.

Usage

1
withWaiter(element, html = spin_1(), color = "#333e48", image = "")

Arguments

element

A reactive element, e.g.: uiOutput, or plotOutput.

html

HTML content of waiter, generally a spinner, see spinners.

color

Background color of loading screen.

image

Path to background image.


waiter documentation built on Jan. 3, 2022, 5:13 p.m.