Translations:SVG-Dashboards/26/en
Версия от 12:53, 4 августа 2023; A.Degtyarev (обсуждение | вклад) (Новая страница: «For example, if the value of the MQTT topic is equal to <code>1</code> , then print the value <code>ВКЛ</code> , otherwise — <code>ОТКЛ</code> : <syntaxhighlight lang="javascript"> (val == 1) ? 'ON' : 'OFF' </syntaxhighlight>»)
For example, if the value of the MQTT topic is equal to 1
, then print the value ВКЛ
, otherwise — ОТКЛ
:
(val == 1) ? 'ON' : 'OFF'