vue-awesome-swiper icon indicating copy to clipboard operation
vue-awesome-swiper copied to clipboard

a peek option to show a little of previous or next slide in px

Open M-Barari opened this issue 3 years ago • 1 comments

It's not a bug, more of a feature!

Vue.js version and component version

nuxt v2.15.3 , vue-awsome-swiper v4.1.1 , swiper v5.4.5

What is Expected?

add a peek option like glidejs that show a little bit of previous or next slide

What is actually happening?

there is no such thing and only in center mode we can see a little of next & previous slide

M-Barari avatar Apr 04 '21 12:04 M-Barari

breakpoints: { 1024: { slidesPerView: 4.3, spaceBetween: 30, }, 768: { slidesPerView: 3.2, spaceBetween: 20, }, 640: { slidesPerView: 2.1, spaceBetween: 10, }, 320: { slidesPerView: 2.2, spaceBetween: 10, },

I added values in decimal for breakpoint slidesPerView. This solved the problem for me.

cosmicstays avatar Apr 29 '21 18:04 cosmicstays