unsplide based on image width

Created on 4 February 2022, almost 3 years ago
Updated 16 May 2023, over 1 year ago

Problem/Motivation

How to disable the slider if the width of the images is less than the width of the browser window

Example:
height : '10rem',
focus : 'center',
autoWidth: true,

There are 2 images 300px and 700px wide.
Or 3 images 300px, 250px and 450px wide
If the browser width is less than 1000px run the slide
If the browser width is greater than 1000px do not run the slide

💬 Support request
Status

Fixed

Version

1.0

Component

Code

Created by

🇺🇦Ukraine proweb.ua

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024