I was working on an image carousel using the Swiper.js library in a React project and I had a hard time customizing the navigation buttons and pagi...
For further actions, you may consider blocking this person and/or reporting abuse
Thank you very much for this post, it really helped me as the current changes on Swiper js are not very documented out there.
Thanks a lot.
Excellent explanation, I was looking for just this and I could not get documentation to explain it. Thanks a lot
thank uuuuuu
This has been really helpful. I was hoping to recreate an old jQuery carousel I set up with Malsup Cycle2. It was possible to set up custom controls outside of the slideshow container. Is this possible with Slider or have I reached a dead-end?
I tried using the
swiper-button
class on external button elements but there was no success.Hi @forestdean I think that's possible. You can actually control the slider programmatically by using the
swiper.slideNext()
andslider.slidePrev()
and many other methods.Here is the link to the the methods in the Swiper API swiperjs.com/swiper-api#method-swi...
Hello, nice article
However, I'm getting swiperContainer.initialize is not a function. How did you manage to escape that?
I'm not sure but I think that following the mentioned in the article steps 100% should get everything to work. If it's not working for you, can you try to log the swiperContainer and see what object do you have in your case
Hi! Thanks for the article. However, I am also stuck with this error in my Next.js TypeScript project: "swiperContainer.initialize is not a function."
When I use console.log(swiperContainer), it returns an HTML element.
I just confirmed and everything still works even using next js I have recreated it in this code sandbox here codesandbox.io/p/sandbox/intellige...
Can you confirm that you are following all the steps?
@artemshchirov @drprime01
I have to thank you for this.I was able to adjust this for my Angular appwith minimal effort.
Thansk Again!!!
Hi! First of all thank you so much for this post, helped me a lot!
I'm trying to customize my pagination to be clickable. How would I do that using the params object?
Thanks again!
Nevermind, I got it hahah