Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

swiper js pagination with arrows

<div class="swiper mySwiper">
  <div class="swiper-wrapper">
    <div class="swiper-slide">Slide 1</div>
    <div class="swiper-slide">Slide 2</div>
    <div class="swiper-slide">Slide 3</div>
  </div>
  <div class="swiper-button-next"></div>
  <div class="swiper-button-prev"></div>
</div>

<script>
  var swiper = new Swiper(".mySwiper", {
    navigation: {
      nextEl: ".swiper-button-next",
      prevEl: ".swiper-button-prev",
    },
  });
</script>
Source by codesandbox.io #
 
PREVIOUS NEXT
Tagged: #swiper #js #pagination #arrows
ADD COMMENT
Topic
Name
2+6 =