1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Update switch/change help text to reflect updates

This commit is contained in:
Nick O'Leary 2016-01-02 16:57:01 +00:00
parent fe4dae8518
commit 5f7019325c
2 changed files with 5 additions and 5 deletions

View File

@ -39,7 +39,7 @@
</script>
<script type="text/x-red" data-help-name="switch">
<p>A simple function node to route messages based on its properties.</p>
<p>A node to route messages based on property values.</p>
<p>When a message arrives, the selected property is evaluated against each
of the defined rules. The message is then sent to the output of <i>all</i>
rules that pass.</p>

View File

@ -33,12 +33,12 @@
</script>
<script type="text/x-red" data-help-name="change">
<p>Set, change or delete properties of a message.</p>
<p>The node can specify multiple rules that will be applied to the message in turn.</p>
<p>Set, change or delete properties of a message, flow context or global context.</p>
<p>The node can specify multiple rules that will be applied in turn.</p>
<p>The available operations are:</p>
<ul>
<li><b>Set</b> - set a property. The <b>to</b> property can either be a string value, or reference
another message property by name, for example: <code>msg.topic</code>.</li>
<li><b>Set</b> - set a property. The value can be a variety of different types, or
can be taken from an existing message or context property.</li>
<li><b>Change</b> - search &amp; replace parts of the property. If regular expressions
are enabled, the <b>replace with</b> property can include capture groups, for example <code>$1</code></li>
<li><b>Delete</b> - delete a property.</li>