Skip to content

[Help]: How do I get the next scroll snap? #1089

Closed Answered by davidjerleke
erkanaltinors asked this question in Help
Discussion options

You must be logged in to vote

@erkanaltinors you can get the next scroll snap index like so:

const nextSnapIndex = emblaApi.internalEngine().index.add(1).get();

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@erkanaltinors
Comment options

Answer selected by erkanaltinors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
resolved This issue is resolved question Question about how to achieve something
2 participants