Skip to content

Commit b5d7164

Browse files
committed
chore: update info about required slides
1 parent 332f5c7 commit b5d7164

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/types/swiper-options.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ export interface SwiperOptions {
637637
*
638638
* Because of nature of how the loop mode works (it will rearrange slides), total number of slides must be:
639639
*
640-
* - more than or equal to `slidesPerView` + `slidesPerGroup`
640+
* - more than or equal to `slidesPerView` + `slidesPerGroup` (and `+ 1` in case of `centeredSlides`)
641641
* - even to `slidesPerGroup` (or use `loopAddBlankSlides` parameter)
642642
* - even to `grid.rows` (or use `loopAddBlankSlides` parameter)
643643
*

0 commit comments

Comments
 (0)