how to set active element from js when slick shows all slides without any arrows?
The only thing I have found is this
$('#carousel').slick('slickGoTo',10);
but it only work when there are arrows, and does not work when screen is wide enought to hidde arrows.
i found and the answer is to use this function setSlideClasses
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.