Skip to main content

Reference

 

OutSystems

If Widget

Allows you to control the content that is displayed in the screen based on a condition.

You specify the content of the True and False branches at design time. At runtime the condition is evaluated and only one of the alternatives is rendered into the screen.

Properties

Name Description Mandatory Default value Observations
Name Identifies an element in the scope where it is defined, like a screen, action, or module. Yes    
Condition Boolean literal or expression to decide which content is displayed. Yes    
Animate Performs an animation on the content when the condition changes its value. Yes No  

Runtime Properties

Name Description Read Only Type Observations
Id Identifies the widget instance at runtime (HTML 'id' attribute). You can use it in JavaScript and Extended Properties. Yes Text  
  • Was this article helpful?