Answer the question
In order to leave comments, you need to log in
How to disable the slider at a higher resolution?
The slider is not needed at a resolution of 750px.
The documentation says about breakpoints. It turns out to display all the necessary slides at a given resolution with the slidesPerView command: 4. Then the question arises of how to block the slides so that they cannot be scrolled.
Answer the question
In order to leave comments, you need to log in
As an option, you can track the resize of the window and, if necessary, do destroy, or if you need a slider (and it has not been created), we create it.
MySwiper.destroy(deleteInstance, cleanupStyles);
idangero.us/swiper/api
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question