Translations:SVG-Dashboards/26/en: различия между версиями
(Новая страница: «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>») |
(нет различий)
|
Текущая версия на 12:53, 4 августа 2023
For example, if the value of the MQTT topic is equal to 1
, then print the value ВКЛ
, otherwise — ОТКЛ
:
(val == 1) ? 'ON' : 'OFF'