18.09.2019, 11:44
This will let you change image color.
Add img or object with attached svg and add additional calsss ' custom' to it
Add this to custom JS
Image color will change based on the value in object 32/1/1, change as needed.
Add img or object with attached svg and add additional calsss ' custom' to it
Add this to custom JS
Code:
$(function(){
if (typeof grp === 'object') {
grp.listen('32/1/1', function(obj) {
$('.custom').css('filter', 'hue-rotate(' + (obj.value * 3) + 'deg)');
});
}
});
------------------------------
Ctrl+F5
Ctrl+F5