Skip to content

Custom navigation buttons to navigate up and down #186

Answered by igordanchenko
hus-o asked this question in Q&A
Discussion options

You must be logged in to vote

The lightbox operates against an array of slides, so it's inherently one-dimensional by design. I do not see an elegant way to smoothly navigate to any other slide except the ones that immediately precede or follow the current slide. There is a way to animate a transition through multiple slides at a time - see prev({ count }), next({ count }) controller ref methods here. But in this case slide animation would scroll through multiple slides instead of jumping to the desired slide immediately.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@igordanchenko
Comment options

@hus-o
Comment options

@igordanchenko
Comment options

@hus-o
Comment options

@igordanchenko
Comment options

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