ui.busy_indicators.use
ui.busy_indicators.use(spinners=True, pulse=True)
Enable/disable busy indication
Busy indicators provide a visual cue to users when the server is busy calculating outputs or otherwise performing tasks (e.g., producing downloads). When enabled (they are by default), a spinner is shown on each calculating/recalculating output, and a pulsing banner is shown at the top of the page when the app is otherwise busy. To disable, include the result of this function in anywhere in the app's UI.
Parameters
Note
When both spinners
and pulse
are set to True
, the pulse is disabled when spinner(s) are active. When both spinners
and pulse
are set to False
, no busy indication is shown (other than the gray-ing out of recalculating outputs).
See Also
- options for customizing busy indicators.