28.12.2020, 08:02
Working example: additional class is blinds, status object is 32/1/1, data type is 0..100% scale so the height range is from 10px to 210px.
CSS:
JavaScript:
CSS:
Code:
.blinds {
overflow: hidden;
transition: height 2s linear;
}
JavaScript:
Code:
$(function() {
grp.listen('32/1/1', function(obj) {
$('.blinds').height(10 + obj.value * 2);
});
});