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.

34 line
858B

  1. <script type="text/javascript">
  2. RED.nodes.registerType('InvertUltimate',{
  3. category: 'boolean logic',
  4. color: '#ff8080',
  5. defaults: {
  6. name: {
  7. value: "Invert"
  8. }
  9. },
  10. inputs:1,
  11. outputs:1,
  12. icon: "serial.png",
  13. label:
  14. function() {
  15. return this.name||"Invert";
  16. },
  17. paletteLabel: function() {
  18. return "InvertUltimate";
  19. }
  20. });
  21. </script>
  22. <script type="text/x-red" data-template-name="InvertUltimate">
  23. <div class="form-row">
  24. <label for="node-input-name"><i class="icon-tag"></i> Name</label>
  25. <input type="text" id="node-input-name" placeholder="Name">
  26. </div>
  27. </script>
  28. <script type="text/x-red" data-help-name="InvertUltimate">
  29. <p>A node that emits the inverted input value.<br/>
  30. The status indicator represents the output value.
  31. </p>
  32. </script>