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
{{ message }}
This repository has been archived by the owner on Dec 28, 2024. It is now read-only.
Hi @Aendrew, srcset isn't supported right now but there's been a request for similar functionality: #14. One thing that needs to be considered is how this would interact with the error state. I'd like to make sure that something like this isn't reducible to a fallback mechanism (see #34 for more discussion). Another thing to consider might be a wrapper or extension to iron-image which adds this behavior; maybe we need a beefier version ('paper-image'?) for features like this, built-in fallback handling stuff, etc.? There's still need for discussion about how / where this should happen.
Since srcset is supported on the original img tag, I don't think it is a good idea to make it a separate component. Currently I see iron-image as a complete replacement for img, which some additions. However as this feature is currently missing, users have to consider sticking to img until such attributes are added. Therefore I would like to see this added to iron-image.
Hi!
Is it possible to use srcset with this element? If not, would you consider a PR implementing it?
Thanks!
The text was updated successfully, but these errors were encountered: