parent
cd23fb02ae
commit
077f5baf53
After Width: | Height: | Size: 156 KiB |
After Width: | Height: | Size: 189 KiB |
After Width: | Height: | Size: 374 KiB |
@ -0,0 +1,24 @@ |
||||
'use strict'; |
||||
|
||||
window.addEventListener('resize', (e) => { |
||||
if (window.innerWidth) { |
||||
|
||||
} |
||||
}); |
||||
|
||||
|
||||
const swiper = new Swiper('.gym-swiper', { |
||||
direction: 'horizontal', |
||||
breakpoints: { |
||||
320:{ |
||||
slidesPerView: 1.20, |
||||
spaceBetween: 24, |
||||
}, |
||||
996: { |
||||
slidesPerView: 3 |
||||
}, |
||||
1920: { |
||||
slidesPerView: 3 |
||||
}, |
||||
} |
||||
}); |
Loading…
Reference in new issue