@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.
47 lines (43 loc) • 1.65 kB
HTML
<!--
Copyright (c) 2025 Parallax AV Design Inc.
All rights reserved.
This software is licensed, not sold. You may not copy, modify, merge,
publish, distribute, sublicense, or sell copies of this file or substantial
portions of it except as expressly permitted by the LICENSE file included
with this package. Use is restricted to building manifests for the
Parallax Control Node-RED nodes. See LICENSE for details.
-->
<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>