How can I make the slider move one slide at time when the left/right arrow buttons are clicked?
I can't see in the docs how to achieve this.
Example: show 5 slides, move 1 slide at a time.
<Swiper
modules={[Pagination, Navigation, A11y]}
navigation
onSlideChange={() => console.log('slide change')}
onSwiper={swiper => console.log(swiper)}
pagination={{ clickable: true }}
breakpoints={{
768: {
width: 768,
slidesPerView: 1,
},
1200: {
width: 1200,
slidesPerView: 2,
},
}}
>
{slides}
</Swiper>