added connection selector to listen node
This commit is contained in:
@@ -4,6 +4,7 @@ RED.nodes.registerType('xilica-listen', {
|
|||||||
color: '#dddddd',
|
color: '#dddddd',
|
||||||
defaults: {
|
defaults: {
|
||||||
name: { value: "" },
|
name: { value: "" },
|
||||||
|
connection: { value: "", type: "xilica-connection" },
|
||||||
rules: { value: [] }
|
rules: { value: [] }
|
||||||
},
|
},
|
||||||
inputs: 1,
|
inputs: 1,
|
||||||
@@ -117,6 +118,10 @@ RED.nodes.registerType('xilica-listen', {
|
|||||||
<label for="node-input-name">Name</label>
|
<label for="node-input-name">Name</label>
|
||||||
<input type="text" id="node-input-name">
|
<input type="text" id="node-input-name">
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-row">
|
||||||
|
<label for="node-input-connection">Connection</label>
|
||||||
|
<input type="text" id="node-input-connection">
|
||||||
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label>Rules</label>
|
<label>Rules</label>
|
||||||
<ol id="node-input-rules"></ol>
|
<ol id="node-input-rules"></ol>
|
||||||
|
|||||||
Reference in New Issue
Block a user