Hi,
I set the dynamic properties with this code without problem ...
output[0] = { ui_update: { label: "ROOM", font: 'Verdana', fontSize: '26', color: 'red' } }
I would like to change the background color too, so I created this class:
.back-text.blue .nrdb-ui-text {
background-color: blue;
}
and I modified the code:
output[0] = { ui_update: { label: "ROOM", font: 'Verdana', fontSize: '26', color: 'white' }, class: 'back-text.blue' }
but without success (also the class must be dynamic)
I don't understand where I'm going wrong, can you help me?