You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pretty neat plugin, the only one which worked for me out of the box.
Here's my case:
I've designed a preloading screen which involves an image, a loading wheel and the bar.
I'm trying to add some content after the queryloader__overlay__bar as a div which I can populate with my content and I'm doing it via the onProgress function:
However, the spinner class is added for every single item it identifies on the page. So if the page has 10 images it needs to wait for, I will have 10 spinner divs. http://prntscr.com/pwfggs
Is there a way to limit the onProgress function to only 1? Or alternatively, there might be a need for an onStart function which will complement the onProgress and onComplete.
Thanks!
The text was updated successfully, but these errors were encountered:
Hey guys,
Pretty neat plugin, the only one which worked for me out of the box.
Here's my case:
I've designed a preloading screen which involves an image, a loading wheel and the bar.
I'm trying to add some content after the queryloader__overlay__bar as a div which I can populate with my content and I'm doing it via the onProgress function:
However, the spinner class is added for every single item it identifies on the page. So if the page has 10 images it needs to wait for, I will have 10 spinner divs. http://prntscr.com/pwfggs
Is there a way to limit the onProgress function to only 1? Or alternatively, there might be a need for an onStart function which will complement the onProgress and onComplete.
Thanks!
The text was updated successfully, but these errors were encountered: