function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Gayathri Ravula 12Gayathri Ravula 12 

lightning spinner loading time

Hi All,
I am working on lightning spinner.I want to capture the time of spinner.
I want to know how much time is taking for spinner to load and display data for pagination.Do i need to customize for this.Can anyone help me with this.

Thanks.
Raj VakatiRaj Vakati
Yes .. there is no out of the box attribute to specify the time to to get the time 

https://developer.salesforce.com/docs/component-library/bundle/lightning:spinner/documentation

https://salesforce.stackexchange.com/questions/174884/lightningspinner-solution-that-finally-works-using-custom-events-not-aurawai

https://salesforce.stackexchange.com/questions/202729/lightningspinner-overlay-screen/203051

 
Ajay K DubediAjay K Dubedi
Hi,
We cannot capture the time of spinner. There is no way to track it. But we can specify the time of spinner load in your screen.
follow these link also:

https://developer.salesforce.com/docs/component-library/bundle/lightning:spinner/example
http://sfdcmonkey.com/2016/12/28/use-loading-spinner-in-lightning-component/
http://www.sfdcpoint.com/salesforce/loading-spinner-in-lightning-component/

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi