Ionic and slider: which documentation to use and how to get options to work?


#1

This is my setting:

Cordova CLI: 6.4.0 
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
ios-deploy version: 1.9.0 
ios-sim version: 5.0.8 
OS: macOS Sierra
Node Version: v6.8.1
Xcode version: Xcode 8.3.2 Build version 8E2002

Beside that, using Ionic version 1.3.3

Now, the problem:

The problem is that I can’t get autoplay work automatically (!). I
have to slide manually at first to get the autoplay working… it
automatically slides through the slides ONLY when I manually
move the first slide first…

I noticed that the above only works when: I set autoplayDisableOnInteraction: false, btw.

All options:

$scope.options = {
  autoplay: 2500,
  autoplayDisableOnInteraction: false,
  loop: false,
  speed: 500,
  paginationType: 'progress',
};

It looks like the slider “understands” that there are slides, but only when I slide them manually first. After that, it starts the autoplay… I tried setting the loop to true as well, but nothing helps.

Which documentation should I check? This one?

http://ionicframework.com/docs/v1/nightly/api/directive/ionSlides/

It sends me to the Swiper API, where autoplay is stated as well, but it does not work as I said above.

Can really need some help here.