Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

120
Views
Swiper js - filtering/removing slides

I'm facing a problem playing with swiperjs. I need to filter swiper slides but according to the swiper API we have some methods designed for slides manipulation as swiper.removeSlide(slideIndex) etc. This is fine however when we run this method we are removing .swiper-slide from DOM too which i don't want to do :). I was hoping that i would be able to manipulate swiper slides in this way swiper.slides = [slide1,slide2] and for example hide the rest of the slides by "display: none". What I'm gonna do is to have some sort of slides duplications in another DOM element but I'm just wondering if it is any different approach? or somebody was having similar issue?

thanks folks!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!