Hi :)
By using $('#carousel').slickNext(); i've error in my console : slickNext is not a function (width Slick v1.5.8).
If i use my ex file (Slick v1.3.15), slickNext will work.
Do you now if it's bug on last version ?
Thank you ! :)
Nope :smile:
since 1.4.0 the API changed, please read the readme.md again to familiarise yourself with the new syntax :)
$carousel.slick("slickNext");
Can you refresh what that documentation is? $carousel is not in the readme
@alxvallejo $carousel is the variable name that's storing the slider element. It's up to you what variable name you use. The README might be using a different variable name.
Assuming you have the slider initialized, you can grab the slider element from the DOM and store like so:
var $whateverNameYouWant = $('.slick-slider');
Most helpful comment
Nope :smile:
since
1.4.0the API changed, please read thereadme.mdagain to familiarise yourself with the new syntax :)