jquery - add class to dots, after activated it with delay and remove that class after slider cycle over -


i need add class dots, after activated delay , remove class after slider cycle over. using slick slider

if ( $('.slick-dots li').hasclass('slick-active') ) {     $(".slick-dots li.slick-active button").addclass("bg-b").delay(3000);    } 

can 1 me?


Comments

Popular posts from this blog

python - Best design pattern for collection of objects -

go - serving up pdfs using golang -

python - django admin: changing the way a field (w/ relationship to another model) is submitted on a form so that it can be submitted multiple times -