Skip to content

How to remove transition effects of in between slides when using swiper.slideTo(X) #7899

Answered by Rem4000
Rem4000 asked this question in Q&A
Discussion options

You must be logged in to vote

I found how it is possible. You need to use:
swiper.slideTo(index, 0)
The 0 sets the speed to 0 which removes transition effect. Its good when you use fade effect, because you wont see much of a difference if the next image does'nt change much. Otherwise, I dont see other options for now. Hope it can help someone.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Rem4000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant