-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check if Default image is loaded or not #522
Comments
Hi @elkhalifte, Right now, you can't, unfortunately. The idea on my part was that Have you solved this in another way? Or is this still an issue for you? I believe it would be possible to implement this feature if you still have the need for it. |
Hi @tjoskar , |
Any news @tjoskar :) |
No, not really. This is not easy since the default image is loaded by the browser with the "src" attribute. What should happen if the default image could not be loaded but the lazyloaded image could be loaded? Would this be acceptable:
|
Yeah , i think this would work for me. |
// setup |
I think that can be achieved with the onload js native event. |
how can i check if the default image is loaded or failed.
from onStateChange i can only know if the lazyload image is loaded or not.
i want to do the same for the default image
The text was updated successfully, but these errors were encountered: