$(') is - the business '). Each (function (I, e) {
Var isActive=$(this). HasClass (' s - active);
The console. The log ($(this). The find (" mui - switch - handle "). The attr (" style "))
if (! IsActive) {
$(this). AddClass (' s - active);
} else {
SetTimeout (function () {
$(this). RemoveClass (' s - active);
$(this). The find (" mui - switch - handle "). The attr (" style ", "");
}, 160);
}
});
CodePudding user response:
Mui - active. Mui - switch - the handle you have cited the mui CSS fileCodePudding user response: