7
7
7a-6662020-07-26 13:15:16
JavaScript
7a-666, 2020-07-26 13:15:16

How to disable/enable slick slider scripts without reloading?

I found a similar question
How to disable Slick slider?
But it disables the script only on reboot, that is, if I change the resolution without rebooting, then the slider scripts will not be disabled, is there a way to fix this?
$('.slider').slick('unslick');

Answer the question

In order to leave comments, you need to log in

2 answer(s)
7
7a-666, 2020-07-26
@7a-666

found the answer here
Slick Slider disable slide at > 992?

G
godsplane, 2020-07-26
@godsplane

https://developer.mozilla.org/ru/docs/Web/API/Wind...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question