kenwheeler / slick

the last carousel you'll ever need
kenwheeler.github.io/slick
MIT License
28.54k stars 5.89k forks source link

how to increase speed on slider #3652

Open akshatapawar129 opened 5 years ago

akshatapawar129 commented 5 years ago

short description of the bug / issue, provide more detail below.

====================================================================

[ paste your jsfiddle link here ]

use this jsfiddle to reproduce your bug: http://jsfiddle.net/simeydotme/fmo50w7n/ we will likely close your issue without it.

====================================================================

Steps to reproduce the problem

  1. ...
  2. ...

====================================================================

What is the expected behaviour?

...

====================================================================

What is observed behaviour?

...

====================================================================

More Details

logangarcia commented 5 years ago

Increase the speed or autoplaySpeed values (in milliseconds):

$(".slider").slick({
    autoplay: true,
    autoplaySpeed: 2000,
    dots: true,
    speed: 500,
    responsive: [{ 
        breakpoint: 500,
        settings: {
            dots: false,
            arrows: false,
            infinite: false,
            slidesToShow: 2,
            slidesToScroll: 2
        } 
    }]
});