How to make the slider regular blocks when clicking on a button?

  • 0
    How to deactivate the Slick Slider slider when clicking on the button?
    There is a command that allows for a certain media query to "destroy" the settings: "unslick" slider, but to be honest, I don’t understand how to use it for a click event. Tried with given code, doesn't work:

    $(".all-cats-btn").click(function(e) {
            settings: "unslick",
    JavaScript Chase Shepherd, Apr 27, 2020

  • 1 Answers
  • 0
    $('.all-cats-btn').on('click', function(e) {
    Sebastian Ware

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!