Hello!
I would like to navigate through slides only with nav buttons not with slide gesture (touch or mouse) as I would like to be able to slide content inside the slide. Is there any easy way to do it?
I haven't noticed any option to disable touch(slide) functionality.
Adam
There are two options that can help you swipeThreshold (for controlling touch swiping) and dragThreshold (for controlling mouse swiping). Please, refer to the docs.
However, if you using a modular build it's better to not to mount a Swipe component.
@adambartosiewicz I had the same problem and am using HTML script tags to import Glide. You can disable the swipe by overriding the Swipe namespace:
const myGlide = new Glide('.glide')
myGlide.mount({
Swipe: undefined
})
@adambartosiewicz I had the same problem and am using HTML script tags to import Glide. You can disable the swipe by overriding the Swipe namespace:
const myGlide = new Glide('.glide') myGlide.mount({ Swipe: undefined })
ily
Most helpful comment
@adambartosiewicz I had the same problem and am using HTML script tags to import Glide. You can disable the swipe by overriding the Swipe namespace: