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
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.