unsplide based on image width

Created on 4 February 2022, over 2 years ago
Updated 16 May 2023, about 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.69.0 2024