Spinner (Deprecated)

ui:spinner

Deprecated as of API version 47.0. We recommend migrating to Lightning Web Components and using the lightning-spinner component.

For Use In

Lightning Experience, Experience Builder Sites, Salesforce Mobile App, Lightning Out (Beta), Standalone Lightning App

We recommend using Lightning Web Components whenever possible. When migrating to Lightning Web Components, use lightning-spinner.

For more information, see Aura Components in the ui Namespace Are Deprecated.

To toggle the spinner, use get("e.toggle"), set the isVisible parameter to true or false, and then fire the event.