possible to make sequence mode one-way? #2499
Answered
by
iangilman
nancyxyzou
asked this question in
Q&A
-
Is there a way to make sequence mode only allow navigation in one direction? Is there perhaps a way to disable the back button so that you can only move forward in the sequence of images? |
Beta Was this translation helpful? Give feedback.
Answered by
iangilman
Mar 21, 2024
Replies: 1 comment 1 reply
-
Interesting! No, we don't have a feature for that. Sequence mode is pretty simple, though... You could easily write your own version of it. Looking at the code, you might also be able to get away with something like:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
nancyxyzou
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Interesting! No, we don't have a feature for that. Sequence mode is pretty simple, though... You could easily write your own version of it.
Looking at the code, you might also be able to get away with something like: