Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70435

Ion-slides Jump page problem

$
0
0

@yuhai2017 wrote:

  <ion-slides class="index-adv idslides" pager="true" [options]="slideOpts">
    <ion-slide>
      <div text-center routerLink="/original">
        <img src="assets/images/author_pic.jpg">
      </div>
    </ion-slide>
    <ion-slide>
      <div text-center routerLink="/phoneparts">
        <img src="assets/images/phone_parts.jpg">
      </div>
    </ion-slide>
    <ion-slide>
      <div text-center routerLink="/contactus">
        <img src="assets/images/hot_line.jpg">
      </div>
    </ion-slide>
  </ion-slides>
  slideOpts2 = {
    centeredSlides: true,
    loop: true,
    preloadImages: false, // Disable preloading of all images
    lazy: true, // Enable lazy loading
    slidesPerView: 1.14,
    spaceBetween: 5
  };

You can’t jump to the page when you get to the last one. I know that this { loop: true,}is affected, but I don’t know how to change it.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>