Lightning Spinner : Toast for LWC and Aura
Lightning Spinner : Aura Component Aura Component : HTML Aura Component : CSS .THIS.spinner{ position: relative; display: inline-block; width: 51px; vertical-align: middle; white-space: nowrap; } Lightning Spinner : Lightning Web Component LWC : Template (HTML) Lightning Web Component : JS import { LightningElement, track } from 'lwc'; export default class Spinner extends LightningElement { @track loading = true; } Lightning Web Component : CSS .spinner{ position: relative; display: inline-block; width: 51px; vertical-align: middle; white-space: nowrap; } Note : You can hide spinner from JS via set loading=false attribute in both framework. Lightning Toast: Aura Component Just needed Call Standard Event to show : $A.get("e.force:showToast"); Aura Component : HTML Aura Comp...