@ -10,9 +10,9 @@ A JavaScript function used to render SCADA symbol state.
**Parameters:**
<ul>
<li><b>ctx:</b><code>ScadaSymbolContext</code> - Context of the SCADA symbol.
<li><b>ctx:</b><code>ScadaSymbolContext</code> - <ahref="${siteBaseUrl}/docs${docPlatformPrefix}/user-guide/scada/scada-symbols-dev-guide/#scadasymbolcontext"target="_blank">Context</a> of the SCADA symbol.
</li>
<li><b>svg:</b><code><ahref="https://svgjs.dev/docs/3.2/container-elements/#svg-svg">SVG.Svg</a></code> - A root svg node. Instance of <ahref="https://svgjs.dev/docs/3.2/container-elements/#svg-svg">SVG.Svg</a>.
<li><b>svg:</b><code><ahref="https://svgjs.dev/docs/3.2/container-elements/#svg-svg">SVG.Svg</a></code> - A root svg node. Instance of <ahref="https://svgjs.dev/docs/3.2/container-elements/#svg-svg"target="_blank">SVG.Svg</a>.
</li>
</ul>
@ -20,8 +20,36 @@ A JavaScript function used to render SCADA symbol state.
##### Examples
<br>
TODO
* Change colors for many tags on the value of the “active, value, minValue, maxValue”
```javascript
var levelUpButton = ctx.tags.levelUpButton;
var levelDownButton = ctx.tags.levelDownButton;
var levelArrowUp = ctx.tags.levelArrowUp;
var levelArrowDown = ctx.tags.levelArrowDown;
var active = ctx.values.active;
var value = ctx.values.value;
var minValue = ctx.properties.minValue;
var maxValue = ctx.properties.maxValue;
var levelUpEnabled = active && value <maxValue;
var levelDownEnabled = active && value > minValue;
@ -10,11 +10,11 @@ A JavaScript function invoked when user clicks on SVG element with specific tag.
**Parameters:**
<ul>
<li><b>ctx:</b><code>ScadaSymbolContext</code> - Context of the SCADA symbol.
<li><b>ctx:</b><code>ScadaSymbolContext</code> - <ahref="${siteBaseUrl}/docs${docPlatformPrefix}/user-guide/scada/scada-symbols-dev-guide/#scadasymbolcontext"target="_blank">Context</a> of the SCADA symbol.
@ -10,11 +10,11 @@ A JavaScript function used to render SCADA symbol element with specific tag.
**Parameters:**
<ul>
<li><b>ctx:</b><code>ScadaSymbolContext</code> - Context of the SCADA symbol.
<li><b>ctx:</b><code>ScadaSymbolContext</code> - <ahref="${siteBaseUrl}/docs${docPlatformPrefix}/user-guide/scada/scada-symbols-dev-guide/#scadasymbolcontext"target="_blank">Context</a> of the SCADA symbol.