Skip to content Skip to sidebar Skip to footer

Slick.js: Prevent Sliding To A Slide Under A Specific Condition

I'm using Slick.js for my carousel and I would like to prevent sliding to a slide when a specific condition is met. I'm trying to acheive this by unsing the beforeChange event: $('

Solution 1:

Unfortunately slick can't handle this situation for now. There are some PRs with this functionality waiting. See this discussion: https://github.com/kenwheeler/slick/pull/2104


Post a Comment for "Slick.js: Prevent Sliding To A Slide Under A Specific Condition"