UNPKG

@energyweb/node-red-contrib-energywebx

Version:

Turn your flows to become SmartFlows in-order to be able to have your node-red flows being installed and executed on thousands of decentralised worker nodes around the world (Powered by Energy Web X)

28 lines (26 loc) 873 B
<script type="text/javascript"> RED.nodes.registerType('is-nominated', { category: 'Energy Web X', paletteLabel: 'Is Worker nominated', color: '#60A0FF', inputs: 1, outputs: 1, icon: "icons/nomination.png", label: function() { return this.name || "is nominated"; }, inputLabels: [], outputLabels: [], align: 'left', defaults: { ewxConfig: { value:"", type: "energywebx-config", required: true }, } }); </script> <script type="text/html" data-template-name="is-nominated"> <p>Checks if worker is nominated.</p> <div class="form-row"> <label for="node-input-ewxConfig"><i class="fa fa-tag"></i> EWX Config</label> <input type="text" id="node-input-ewxConfig" placeholder="EWX Network Config"> </div> </script>