Available translations

Text Condition

foundations.png
text-condition.png
A text condition is a rule that allows establishing when text shall be rendered and when not.
Content
The node is optional. When the node is not present in the definition of the text node or when the condition validates true, the text is rendered on screen. When the condition validates false, text is not rendered. As such, the node allows dynamically switching the rendering of the corresponding text on and off.
Text Condition Menu
The Text Condition node has the following Node Menu items:
The Edit menu item has the following properties:
  • action: Edit
  • actionFunction: uiObject.codeEditor.activate
  • label: Edit
  • iconPathOn: javascript-code
  • iconPathOff: javascript-code
The Delete menu item has the following properties:
  • action: Delete UI Object
  • actionProject: Visual-Scripting
  • askConfirmation: true
  • confirmationLabel: Confirm to Delete
  • actionFunction: payload.executeAction
  • label: Delete
  • iconPathOn: delete-entity
  • iconPathOff: delete-entity
Text Condition Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Text Condition with other nodes:
Compatible Types:
Text Condition Code
This section explores Text Condition Node Code.
Initial Value
The initial value for Text Condition Code is:
 ""
Examples
This is a list of examples used on the Text Condition code, collected from this workspace.