image loading
-
How can we slow image loading in quasar?
-
what is slow image loading? And why would you want that.
-
I have a group of image and I want to load them successively i.e image no 1 will load then wait for 1 sec then image no 2 will load and so on
-
https://quasar.dev/vue-components/img#QImg-API
- use the
@load
event of Q-img - only set src of first image lets call it : Q-img-1
- listen to the
loaded
event of Q-img-1 to set the src of Q-img-2 - Q-img-1 image will load as normal
- the
loaded
event of Q-img-1 will fire - in listener of the
loaded
event wait 1 sec and set the src of Q-img-2 - Q-img2 will load…
ect
- use the
-
Thank you very much it worked