ionic-team / ionic-v1

The repo for Ionic 1.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
193 stars 187 forks source link

Swiper options still not working with Ionic #254

Open 1BJK903 opened 7 years ago

1BJK903 commented 7 years ago

Hi all,

I want to use paginationType: progress, yet it's not working. Beside that: autoplay is also not working. We know that Ionic uses the old version. Could someone please help and fix this?

https://ionicframework.com/docs/api/components/slides/Slides/

Even the own documentation says it: "you can't use progress if you don't have pager = true", yet that does not work because Swiper is outdated when used in combination with Ionic.

  $scope.options = {
    autoplay: 1500,
    effect: 'coverflow',
    autoplayDisableOnInteraction: false,
    loop: false,
    pager: true,
    paginationType: 'progress',
    coverflow: {
      rotate: 50,
      stretch: 0,
      depth: 100,
      modifier: 1,
      slideShadows: true
    }
  };

How to get paginationType: "progress" and autoplay to work? @mhartington, could you help or give an update, please?