@totallyinformation/node-red-contrib-events
Version:
Event broadcast and receive nodes for Node-RED.
32 lines (27 loc) • 1.48 kB
HTML
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name">
</div>
<div class="form-row">
<label for="node-input-topic"><i class="fa fa-tasks"></i> Topic</label>
<input type="text" id="node-input-topic">
</div>
<div class="form-row" style="border: 1px solid silver;width:auto;padding:1em;">
<input type="text" id="node-input-passthrough" style="display:none;">
<div style="padding-bottom: 1em;width:29em;">
This node has an optional output port that either passes the input msg to the output.
Or it uses a <code>event-return</code> node allowing flow loops to be easily created:
</div>
<div>
<input type="radio" id="passthrough-none" value="none" name="passthrough" style="width: auto; vertical-align: baseline;">
<label for="passthrough-none" style="min-width:20em;">No outputs.</label>
</div>
<div>
<input type="radio" id="passthrough-input" value="input" name="passthrough" style="width: auto; vertical-align: baseline;">
<label for="passthrough-input" style="min-width:20em;">Pass input msg to output?</label>
</div>
<div>
<input type="radio" id="passthrough-return" value="return" name="passthrough" style="width: auto; vertical-align: baseline;">
<label for="passthrough-return" style="min-width:20em;">Allow output from a <code>event-return</code> node?</label>
</div>
</div>