T
T
The_KEK2022-02-06 09:30:21
JavaScript
The_KEK, 2022-02-06 09:30:21

How to change the number of slides in Swiper js depending on the screen width?

I want to leave 1 slide in the mobile version

61ff6ac0928d0796744820.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Zhurov, 2022-02-06
@The_KEK

https://swiperjs.com/swiper-api#parameters
in breakpoints slidesPerView parameter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question