Slides component easing?


#1

Hey Ionicons,

Is it possible to add easing to the Slides component?

Thanks in advance


#2

You can change the speed of the slides, if thats what you mean. But Im not sure you can change the easing calculations


#3

Thanks. Yes, I saw that parameter. It would certainly be a nice-to-have to be able to add ease-out etc. like in CSS3 transitions. I saw in another thread that you may be working on an Ionic replacement for Swiper - maybe this could be considered :slight_smile:

I took a look at the source code for the slider widget, it looks as though it could be possible through getting the Swiper instance of the Slider (using getSlider()), cancelling the in-built transitions (using the virtualTranslate Parameter) and setting up a custom transition. I may revisit this later in my project. If I do I will post any success here.