UNPKG

@strato-automation/node-red-contrib-strato-automation

Version:
46 lines (43 loc) 1.26 kB
<script type="text/javascript"> RED.nodes.registerType("not-gate", { category: "deprecated", color: "#f3b567", defaults: { name: { value: "", label: "name" }, }, inputs: 1, outputs: 1, icon: "font-awesome/fa-exclamation", paletteLabel: function () { return "Not Gate"; }, label: function () { return this.name ? this.name : "Not Gate"; }, labelStyle: function () { return this.name ? "node_label_italic" : ""; }, outputLabels: function (index) { return "Output"; }, inputLabels: function (index) { return "Input"; }, }); </script> <script type="text/html" data-template-name="not-gate"> <!-- NODE HAS BEEN DEPRECATED--> <div class="form-row"> <p style="color:red;"> <b>Deprecated:</b> This node is deprecated and will be removed in a future release. Please migrate to <i>Boolean Logic Ultimate</i> library. </p> </div> <div class="form-row"> <label for="node-input-name"><i class="fa fa-tag"></i> Name</label> <input type="text" id="node-input-name" placeholder="name" /> </div> </script> <script type="text/html" data-help-name="not-gate"> <h1>THIS NODE HAS BEEN DEPRECATED. DO NOT USE IT.</h1> </script>