jquery - Can this possible to unslick in desktop and slick slide in mobile? -


i want disable slider in desktop needed slide in mobile, guy's can me?

$('.slider').slick({      slidestoshow: 5,      slidestoscroll: 1,      autoplay: false,      autoplayspeed: 2000,      responsive: [         {            breakpoint: 767,            settings: "unslick"         }      ]   }); 

try this: screen width 9999px 768px not slider

 ('.slider').slick({     slidestoshow: 5,     slidestoscroll: 1,     autoplay: false,     autoplayspeed: 2000,     responsive: [         {             breakpoint: 9999,             settings: "unslick"         },         {             breakpoint: 767,              settings: {                     slidestoshow: 3,                     slidestoscroll: 3,                     infinite: true,                     dots: true                 }         }     ] }); 

Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -