-
-
Notifications
You must be signed in to change notification settings - Fork 674
Can I change the size of img's default placeholder map (svg) #625
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
Labels
Comments
I am not able to understand what you want to do, can you explain better what you have in the original DOM at page loading and what you want to do when vanilla-lazyload processes your image? |
Or can the styles of placeholder src and data src be different? |
shuan Q. i think i can use callback_loaded to change the class name when the img loaded |
Yes you can |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<img alt="Mocassini" class="lazy" src="./placeholders/11-14.svg" data-src="./images/440x560-16.webp" width="220" height="280" />
Can I change the size of img's default placeholder (svg), because I placed a loading on src's default placeholder, which is too large
The text was updated successfully, but these errors were encountered: