Image: Add srcset attribute #13683
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the feature you would like to see added
On the documentation site it says:" Image is used as the native img element and supports all properties that the native element has.", but it is missing srcset attribute.
It would be beneficial to support it as well.
Is your feature request related to a problem?
Nope
Describe the solution you'd like
Add srcset and perhaps previewImageSrcset inputs to the component.
Describe alternatives you have considered
I could probably "hack it" in some way by using *ngIf or media queries but it would be better to support srcset attribute as you already use native img element.
Additional context
No response
The text was updated successfully, but these errors were encountered: