Translations:SVG-Dashboards/52/en
Версия от 12:54, 4 августа 2023; A.Degtyarev (обсуждение | вклад) (Новая страница: «Let's change the color of the element depending on the state of the relay, if the value in the topic is <code>1</code> , then paint the object yellow, otherwise - gray: <syntaxhighlight lang="javascript"> (val == 1) ? ';fill: yellow' : ';fill: gray' </syntaxhighlight>»)
Let's change the color of the element depending on the state of the relay, if the value in the topic is 1
, then paint the object yellow, otherwise - gray:
(val == 1) ? ';fill: yellow' : ';fill: gray'