Q-img load event
-
Hi, I’m not sure the @load event on q-img is working correctly. My understanding is that it would be fired once the src provided had been loaded by the underlying image. However it seems to fire before the src has actually been loaded.
You can see the problem here: https://codepen.io/xariusdesai/pen/eYBRwmE
If you uncomment line 19 in the JS, the url is revoked before the image is loaded by q-img and never shows. This works fine if I use a normal img element, but it doesn’t have the nice other features that q-img does.
Any ideas?
-