UNPKG

@parallaxcontrol/node-red-control

Version:

A comprehensive package of Node-RED nodes designed to seamlessly integrate with the Parallax Control Engine, offering enhanced control capabilities for AV Automation.

37 lines (34 loc) 1.22 kB
<script type="text/javascript"> RED.nodes.registerType('inverter-gate', { category: 'parallax', color: '#C0C0C0', defaults: { name: { value: "inverter-gate" } }, inputs: 1, outputs: 1, icon: "arrow-in.svg", label: function() { return this.name || "inverter-gate"; }, labelStyle: function() { return this.name ? "node_label_italic" : ""; } }); </script> <script type="text/html" data-template-name="inverter-gate"> <!-- Name --> <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> <!-- Node Property Window Notes --> <small id="inputHelpBlock" class="form-text text-muted"> <p>Inverts the bool value.<br> Expects: JSON Object, i.e.: {"Value":true}</p> </small> </script> <script type="text/html" data-help-name="inverter-gate"> <p>Logic Node: This node inverts a boolean value: Outputs false when the input is true, and true when the input is false.</p> <p>Expects: JSON Object, i.e.: {"Value":true}</p> </script>