mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Update switch/change help text to reflect updates
This commit is contained in:
		| @@ -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> | ||||
|   | ||||
| @@ -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 & 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> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user