Contents
When to use the loading spinner in Lightning?
This component can be used when retrieving data or performing an operation that takes time to complete. aura:waiting and aura:donewaiting can be used for controlling the loading spinner.
When do you use a spinner in CSS?
Spinners are CSS loading indicators that should be shown when retrieving data or performing slow computations. In some cases, the first time a parent component loads, a stencil is preferred to indicate network activity. To use the spinner in a component, the parent of the spinner should be set to position:relative.
Which is lightning component library does Salesforce use?
Marketing Cloud Mobile Developer Center Mulesoft Developer Center Pardot Developer Center Quip Developer Center Salesforce DX Security Service Cloud Docs Lightning Component Library Lightning Design System Apex Lightning Aura Components APIs All Documentation Learn Trailhead Certification Sample Gallery Podcast Video Gallery
What should the position of the spinner be?
If you are using the spinner in an iframe and dynamically loading DOM nodes after the page has loaded, it is recommended that you set the .slds-spinner_container to position:fixed so that it remains centered in the viewport. The background overlay for the spinner is an optional element.
When do you fire the lightning event in apex?
One component can have only one tag to handle this event. aura:doneWaiting : This event is automatically fired when all server response (apex) complete. aura:doneWaiting indicate that the lightning component is done waiting for server response. This event is always fired after aura:waiting.
Aura Components lightning accordion accordionSection avatar badge breadcrumb breadcrumbs button buttonGroup buttonIcon buttonIconStateful buttonMenu buttonStateful card carousel carouselImage checkboxGroup clickToDial combobox container conversationToolkitAPI datatable dualListbox dynamicIcon empApi fileCard
What is the Component Library in Salesforce Lightning?
The Component Library is the Lightning components developer reference. Rapidly develop apps with our responsive, reusable building blocks. Loading ×Sorry to interrupt CSS Error Refresh Cancel