swiper

Open full view…

Are there any analogs of 'slidesPerViewFit' and 'visibilityFullFit'?

alexc
Sat, 14 Feb 2015 18:04:58 GMT

Hello! Are there any analogs of 'slidesPerViewFit' and 'visibilityFullFit'? In v2.7 in 'vertical' mode combination of parameters: slidesPerView: 'auto', slidesPerViewFit: false, allowed to display second slide (it's height only half of the screen) with first one partially visible. visibilityFullFit: true - as I understand updates '.swiper-slide-visible' property.

Vladimir Kharlampidi
Sun, 15 Feb 2015 11:20:28 GMT

No, there is no such parameter. In 2.x it changes the way of adding "swiper-slide-visible" class only, doesn't do anything with layout. In 3.x, if you need such class you need to add `watchVisibility:true`, but in 3.x it behaves like `visibilityFullFit:false`