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.

BDebug.html 886B

12345678910111213141516171819202122232425262728293031323334353637
  1. <!--
  2. Licensed under the MIT license, see LICENSE file.
  3. Author: Per Malmberg (https://github.com/PerMalmberg)
  4. -->
  5. <script type="text/javascript">
  6. RED.nodes.registerType('BDebug',{
  7. category: 'boolean logic',
  8. color: '#C0DEED',
  9. defaults: {
  10. name: {
  11. value: "Debug"
  12. }
  13. },
  14. inputs:1,
  15. outputs:0,
  16. icon: "debug.png",
  17. label:
  18. function() {
  19. return this.name||"Debug";
  20. },
  21. paletteLabel: function() {
  22. return "Debug";
  23. }
  24. });
  25. </script>
  26. <script type="text/x-red" data-template-name="BDebug">
  27. <div class="form-row">
  28. <label for="node-input-name"><i class="icon-tag"></i> Name</label>
  29. <input type="text" id="node-input-name" placeholder="Name">
  30. </div>
  31. </script>
  32. <script type="text/x-red" data-help-name="BDebug">
  33. <p>A debug node specifically targeting boolean logic.</p>
  34. </script>