Hi all, how can i create slider with swipe velocity,Since the normal ion-slider in ionic doesn't have swipe velocity

html File:

<div class="main-content" id="threshold">
        <ion-slides no-padding autoplay="stop" loop="flase" speed="500" slidesPerView="2" spaceBetween="-18">
            <div *ngFor="let entity of myObj; let i = index">
              <ion-slide  class="slider_img_sec" (click)="videoPage()">
                <ion-card no-margin>
                  <img src="../../assets/imgs/slideimage2.webp" />
                  <div class="card-title custom-card-text">{{entity.title}}</div>
                </ion-card>
              </ion-slide>
            </div>
        </ion-slides>
        </div>
1 Like

Hi ! Did you find any solution? Thx

Solution :

<ion-slides [options]="sliderOptions">
    <ion-slide text-center *ngFor="let image of images">
         <img padding [src]="image">
     </ion-slide>
</ion-slides>

With

sliderOptions = {
    speed: 1000,
    loop: true,
    autoplay: {
      delay: 500,
    }
  }