Skip to content

api to scroll to bottom or top? #4562

Answered by ajaypillay
bsc0tt asked this question in Q&A
Discussion options

You must be logged in to vote

Is there any reason you couldn't do swiper.slideTo(0) and swiper.slideTo(array.length - 1) or swiper.slideTo(lastIndex). If you keep track of the number of slides within your Swiper then this could be done.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@nolimits4web
Comment options

@bsc0tt
Comment options

Answer selected by bsc0tt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants