Repository navigation
[Help]: How to disable drag? #635
|
Hello, I'm using embla carousel for my web project and I want to disable the drag and drop functionality of the carousel. I only want to use the navigation buttons to change the slides. Is there any option or method to achieve this? |
Answered by
davidjerleke
Nov 21, 2023
Replies: 2 comments 1 reply
|
Hi @ngocducpham, Sure. Set the Best, |
0 replies
Answer selected by
ngocducpham
|
@davidjerleke sliding with arrow keys still happens, is there another option to disable that as well? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @ngocducpham,
Sure. Set the
watchDragoption tofalse.Best,
David