How to control ionic slides transition speed

how can i controll ionic slides autoplay transition speed


Template file

<ion-slides options="data.sliderOptions" slider="data.sliderDelegate">
    <ion-slide-page ng-repeat="bgColor in data.bgColors">
      <div class="box {{bgColor}}"></div>

component file

    //some options to pass to our slider
    $ = {
      initialSlide: 0,
      direction: 'horizontal', //or vertical
      speed: 1000, //0.3s transition
      autoplay: 300

Using this code you can handle the speed of transition.

Hope this will help you.

1 Like