title: How to stop swiper slider when autoplay activated and reaching end of slide?
body: <p>How to stop slider when autoplay activated and reaching end of slide?</p>
  
  <p>currently the slider keep looping to first slide after reaching end slide.</p>
  
  <p>It's using version 4.0.7 </p>
  
  <p>HTML</p>
  
  <pre><code>&lt;div class="swiper-container"&gt;
  &lt;div class="swiper-wrapper"&gt;
      &lt;div class="swiper-slide"&gt;Slide 1&lt;/div&gt;
      &lt;div class="swiper-slide"&gt;Slide 2&lt;/div&gt;
      &lt;div class="swiper-slide"&gt;Slide 3&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="swiper-pagination"&gt;&lt;/div&gt;
  &lt;div class="swiper-button-prev"&gt;&lt;/div&gt;
  &lt;div class="swiper-button-next"&gt;&lt;/div&gt;
  &lt;div class="swiper-scrollbar"&gt;&lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>Js</p>
  
  <pre><code>var swiper = new Swiper('.swiper-container', {
    spaceBetween: 30,
    centeredSlides: true,
    loop:false,
    autoplay: {
      delay: 2500,
      disableOnInteraction: false,
      stopOnLast: true,
    },
    pagination: {
      el: '.swiper-pagination',
      clickable: true,
    },
    navigation: {
      nextEl: '.swiper-button-next',
      prevEl: '.swiper-button-prev',
    },
  });   
  </code></pre>