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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -