Open
Description
Type
one-off feature
Problem
I want to utilize multiple sources for different sizes of the same image, so that the smallest image fitting for the device can be loaded.
See MDN.
Implementation
My idea would be to add an additional prop to the vuepperslide
component that takes an array of objects { srcset: <String>, mediaqry: <String> }
. If the array is existing and is not empty the slide should render a picture
element surrounding the default img
element. Additionaly for each entry of the array one source
element should be rendered.
Metadata
Metadata
Assignees
Labels
No labels