P
P
Pipop2020-04-28 17:03:27
css
Pipop, 2020-04-28 17:03:27

How to change the number of visible slides in sweeper?

It is necessary to show two slides in the slider, but if the number of slides is odd, the very last swipe should display one elongated slide. Even if it's still two. Is it possible?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pipop, 2020-04-28
@Pipop

Resolved: if there are an odd number of slides, the following options are needed:
slidesPerGroup: 2,
slidesPerView: 'auto'
In this case, set the width of the slides to 50%, and the last slide to 100%

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question