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
Picture tag adds different sources for different media such as loading low quality image on mobile & high quality one in PC. I believe, currently only <img> is supported
I will look into this. Unsure if the maintainer is still active, but I think I can give a stab at it.
The type attribute is interesting to me. I will also look into adding an ImageType enum for Avif, WebP, JPEG, and PNG with a client side validation for avif to see if the Browser support it, if not default to Webp.
Picture tag adds different sources for different media such as loading low quality image on mobile & high quality one in PC. I believe, currently only
<img>
is supportedhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture
The text was updated successfully, but these errors were encountered: