swiper.js Questions

3

Swiper 8 and Jest (support ESM) Must use import to load ES Module enter image description here enter image description here How we can solve if I need to keep swiper 8 (without downgrade)
Drillmaster asked 6/5, 2022 at 12:35

2

Im looking for a little help to complete my SwiperJS implementation to replace other sliders on my site - the intent is to have variable width slides - if there is a landscape slide in the centre t...
Remunerative asked 13/2, 2021 at 8:48

5

I'm using this kind of configuration for swiper: var swiper = new Swiper('.swiper-container', { spaceBetween: 30, slidesPerView: 3, speed: 2500, centeredSlides: true, autoplay: 1000, autoplay...
Gumbotil asked 5/5, 2017 at 9:48

3

I updated my Angular Ionic 5 application and trying to migrate from ion-slides to Slides. I am following the official docs. I installed swiper npm install swiper@6 Did import in the scss file @imp...
Lubric asked 14/9, 2021 at 13:48

7

First time using swiper ,I followed the documentation and added the html part in my code ,then initialize it in JS, I initialize pagination but it is not showing on my page. This is my code: JS: ...
Reversion asked 27/1, 2020 at 13:27

6

Solved

I am trying to use Swiper but I cannot achieve it, I followed the steps in the documentation (https://swiperjs.com/get-started/), the problem is that all the images / slides are mixed together, it ...
Conflagration asked 27/8, 2020 at 5:34

3

Solved

I'am trying to use slidesPerView: 'auto' with spaceBetween: 20 property, but Swiper shows only one slide per view. I want to show next slide right after the first one even if it will be cutted by ...
Voluntarism asked 11/7, 2019 at 19:59

4

I'm trying to have 3 visible slides in the page. The problem is that whenever there are less than 3 slides those slides are duplicated to fill also the empty spaces so, for instance, if I have just...
Spier asked 19/3, 2020 at 16:9

2

Solved

I want to make my Swiper Slider Responsive in React.js I am using Swiper React Components and I am new to this. I have added same width in media queries in css and added same width to breakpoints o...
Corso asked 7/5, 2022 at 11:23

2

Swiper react has a documentation in witch it is not explained how to add custom navigation buttons. I tried this and it didn't work I'm using swiper 8.0.5 <Swiper modules={[Navigation, Paginati...
Eachelle asked 10/2, 2022 at 17:19

3

I'm battling the calculated width, with swiperjs. I have have my slider working, however I'm trying to place it inside a container I created with CSS grid that has 2 columns, and 2 rows where the...
Gomphosis asked 22/4, 2020 at 19:29

3

Solved

Good morning, I'm making a site using VueJS for the frontend, I have installed SwiperJS via npm for Vue to make sliders. It works fine but i'm not able to make functioning breakpoints to have a res...
Bicipital asked 18/3, 2021 at 10:24

3

I'm trying to replicate this, only with <script setup> tag which doesn't have this keyword. Template (from code that I'm trying to replicate) <swiper ref="swiper"> <swiper...
Unsearchable asked 19/5, 2022 at 0:18

5

I want to show a part of the second slide into view. Around 20-30%. I have set slidesPerView to 2.1 (on mobile devices!) to show part of the next slide. However, when scrolling through the slides i...
Lacuna asked 19/8, 2020 at 11:21

2

Solved

hi i'm trying to create responsive slider on my wordpress website, i want to have slider on desktop 5 columns, on tablet 4 columns, and on mobile 3 columns, and hide arrows on mobile using css this...
Barmecidal asked 9/3, 2020 at 5:25

5

I'm struggling with changing swipe direction when I rotate my swiper on 90deg. So in the beginning by default it has horizontal direction. When clicking on slide I'm rotating "swiper-container" mak...
Amadou asked 8/2, 2019 at 14:2

1

When I read the swiper's docs, I can not get what's the usage of longSwipes. Can anyone tell me ? It's best to give an example. Thanks. https://swiperjs.com/swiper-api#swiper-full-html-layout
Elinorelinore asked 23/3, 2021 at 7:49

2

I have an Nx repo with an Angular app and Jest as the test framework. The app has a component that uses the Swiper library. When trying to test the component, I get the following error messages: ●...
Disrobe asked 9/5, 2022 at 20:19

3

var mySwiper = new Swiper('.myswiper', { autoplay: 3000, simulateTouch: true, loop: true, preloadImages: true, speed: 200, pagination: '.swiper-pagination' }); While this is my initial swi...
Soph asked 26/8, 2016 at 5:58

1

I set swiper.js to navigate through different questions using ReactJS. I'm trying to change the {quesNumber} state with swiper's onSlideChange method, which should set the "q" URL paramet...
Locust asked 6/8, 2020 at 8:7

3

Solved

I'm running into a problem on my unit tests after upgrading Swiper 6 to 7. I'm using Angular 12 and Swiper 7.3.1. Before upgrading it the unit tests were working fine (Swiper version 6.5.9). I'm us...
Ihab asked 7/12, 2021 at 17:4

5

I'm creating a simple slideshow using swiper.js. My config looks like this: var mySwiper = new Swiper( '#swiper-container', { autoplay: { delay : 400000 }, loop: true, speed: 2800, grabCur...
Backset asked 5/12, 2017 at 2:16

2

Solved

I can't get the custom bullets to slide when clicked from swiper.js. Here is my stackblitz I've added the config property 'clickable: true' Here is my swiper code code private pagination: Swi...
Frontwards asked 28/7, 2020 at 19:27

2

Solved

I followed this guide to set up swiper slider in my Angular 8 application. I get the below error when importing NgxUsefulSwiperModule into app.module.ts ERROR in ./node_modules/ngx-useful-swiper/fe...
Vestryman asked 14/10, 2021 at 4:9

6

Solved

I set up Swiper Slider as per the documentation and every slide slides as if one. <div class="swiper-container"> <div class="swiper-wrapper"> <div class="swiper-slide">Slide 1&...
Epistyle asked 22/11, 2019 at 15:55

© 2022 - 2024 — McMap. All rights reserved.