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

Update Swiper to latest release #156

Open jgw96 opened 7 years ago

jgw96 commented 7 years ago

From @TheCopartnery on March 23, 2016 15:36

Short description of the problem:

API functionality for Ion-slides is out of step with that available in Swiper

What behavior are you expecting?

Future release of Ionic to be updated to use latest version of Swiper as found here:

https://github.com/nolimits4web/Swiper/tree/master/dist/js

Which Ionic Version? 1.x or 2.x

1.x

Copied from original issue: driftyco/ionic#5920

jgw96 commented 7 years ago

From @elineopsommer on April 22, 2016 14:41

Is it possible to integrate the navigation arrows? (see example https://github.com/nolimits4web/Swiper/blob/master/demos/14-nav-arrows.html)

jgw96 commented 7 years ago

From @TheCopartnery on April 22, 2016 19:21

Hey, it is already possible to do this in the current version. You will need to add the arrows in your html, like in the example you linked to.

<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>

You will also likely need to specify the class names in your $scope.options.

$scope.options = {
  loop: false,
  effect: 'fade',
  speed: 500,
  nextButton: '.swiper-button-next',
  prevButton: '.swiper-button-prev'
}

This isn't a bulletproof guide (they may need styling / other code) but that's the jist of it :)

jgw96 commented 7 years ago

From @TheCopartnery on June 2, 2016 10:36

Noticed that it has been suggested to split Swiper off into a separate package for Ionic 2.

Perhaps the same approach would also be beneficial for v1

jgw96 commented 7 years ago

From @jmatsushita on June 22, 2016 9:1

Is it possible to use the progress pagination type with the shipped version? http://idangero.us/swiper/demos/37-pagination-progress.html

jgw96 commented 7 years ago

From @tomazberisa on July 1, 2016 1:34

@jmatsushita I've tried to do exactly this, but cannot seem to make it work.

Might there be any news re: updating Swiper?

jgw96 commented 7 years ago

From @jmilloy on December 22, 2016 23:22

Is this expected at any point soon? The current version of swiper in Ionic is fairly old (Aug 2015). We'd really like to use some of the newer features like the fraction pagination. I'm just trying to get a sense of the timeline/priority on this issue.

darshantejani007 commented 7 years ago

This issue has been closed. Does that mean I can use the progress pagination type in ion-slides options? It does not work for me in ionic v1 1.3.2.

1BJK903 commented 7 years ago

@mhartington: Hi there, someone who can respond? When can we expect this to be updated?

VinceOPS commented 7 years ago

@mhartington Hi, any news regarding this?