Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ui-led.html 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <script type="text/html" data-help-name="ui-led">
  2. <h3>Configuration Options</h3>
  3. <h4>General</h4>
  4. <dl class="message-properties">
  5. <dt class="optional">Name <span class="property-type">string</span></dt>
  6. <dd>The name of the node within the context of the Node-RED editor.</dd>
  7. </dl>
  8. <dl class="message-properties">
  9. <dt>Group <span class="property-type">ui-group</span></dt>
  10. <dd>The UI Group that the LED will render inside.</dd>
  11. </dl>
  12. <dl class="message-properties">
  13. <dt>Size <span class="property-type">&lt;int&gt;x&lt;int&gt;</span></dt>
  14. <dd>The relative size of the LED with <code>width</code> x <code>height</code></dd>
  15. </dl>
  16. <h4>Label Styling</h4>
  17. <dl class="message-properties">
  18. <dt>Text <span class="property-type">string</span></dt>
  19. <dd>The label to display next to the LED.</dd>
  20. </dl>
  21. <dl class="message-properties">
  22. <dt>Placement <span class="property-type">left | right</span></dt>
  23. <dd>Which side of the LED the label will be displayed.</dd>
  24. </dl>
  25. <dl class="message-properties">
  26. <dt>Alignment <span class="property-type">left | center | right</span></dt>
  27. <dd>Within the space to the left/right of the LED, how the label will be aligned in that space.</dd>
  28. </dl>
  29. <h4>LED Styling</h4>
  30. <dl class="message-properties">
  31. <dt>Shape <span class="property-type">circle | square</span></dt>
  32. <dd>"Circle" or "Square"</dd>
  33. </dl>
  34. <dl class="message-properties">
  35. <dt>Show Border <span class="property-type">boolean</span></dt>
  36. <dd>Should the LED have a fixed border around the shape, emulating a physical LED.</dd>
  37. </dl>
  38. <dl class="message-properties">
  39. <dt>Show Glow <span class="property-type">boolean</span></dt>
  40. <dd>Should the LED have a glow effect.</dd>
  41. </dl>
  42. <h4>Values</h4>
  43. <p>Maps a value to a respective color. If a value is provided that it doesn't recognise, a general grey color will be used.</p>
  44. <h3>Dynamic Properties</h3>
  45. <p>UI LED doesn't currently support any dynamic properties.</p>
  46. </script>