18.06.2019, 14:27
Or you can do it like that with a bit object
Additional class slilder-custom
JS
CSS
Additional class slilder-custom
JS
Code:
$(function() {
if (typeof grp != 'object') {
return;
}
grp.listen('1/1/1', function(object, state) {
$('.slilder-custom').toggleClass('change-slider-colour', object.value == true);
});
});
Code:
.change-slider-colour {
filter: hue-rotate(50deg);
}
------------------------------
Ctrl+F5
Ctrl+F5