UNPKG

node-red-contrib-boolean-logic-ultimate

Version:

A set of Node-RED enhanced boolean logic node, flow interruption node, blinker node, invert node, filter node, with persisten values after reboot and more.

59 lines (54 loc) 1.57 kB
<script type="text/javascript"> RED.nodes.registerType('FilterUltimate', { category: 'boolean logic ultimate', color: '#ff8080', defaults: { name: { value: "Filter" } }, inputs: 1, outputs: 2, outputLabels: function (i) { var ret = ""; switch (i) { case 0: return "True"; break; case 1: return "False"; break; default: break; } }, icon: "switch.png", label: function () { return this.name || "Filter"; }, paletteLabel: function () { return "FilterUltimate"; } }); </script> <script type="text/x-red" data-template-name="FilterUltimate"> <div class="form-row"> <b>Filter Ultimate</b>&nbsp&nbsp&nbsp&nbsp<span style="color:red"><i class="fa fa-question-circle"></i>&nbsp<a target="_blank" href="https://github.com/Supergiovane/node-red-contrib-boolean-logic-ultimate"><u>Help online</u></a></span> <br/> <br/> </div> <div class="form-row"> <label for="node-input-name"><i class="icon-tag"></i> Name</label> <input type="text" id="node-input-name" placeholder="Name"> </div> </script> <script type="text/x-red" data-help-name="FilterUltimate"> <p> SEE THE README FOR HELP CONFIGURING THE NODE </p> <p> <a href="https://github.com/Supergiovane/node-red-contrib-boolean-logic-ultimate" target="_blank">Click here to learn how to configure the node.</a> </p> <a href="https://www.paypal.me/techtoday" target="_blank"><img src='https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square' width='30%'></a> </script>