Answer the question
In order to leave comments, you need to log in
How to disable swipe in slick on button click?
Slick has a swipe: option for this, but it only works on initialization. How can I make an event so that the solution is something like the one below (it does not suit me).
$('button').on('click', () => {
$('.slider').css('pointer-events', 'none');
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question