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 -

python - Error: Unresolved reference 'selenium' What is the reason? -

asp.net ajax - Jquery scroll to element just goes to top of page -