Conditional Visibility
In this section you will find out how to use Conditional Visibility
Last updated
In this section you will find out how to use Conditional Visibility
Last updated
Conditional Visibility allows dynamic display adjustments of UI components or layers based on specified conditions. This feature is handy when you need UI elements to respond to changes, such as altering the color of a metric indicator depending on whether its value is positive or negative.
To practice the feature, let's build this example:
Let's go by colors one by one. For building the green part, please follow the steps:
Click on the Add Fill
button from the Right Sidebar
Click on the Color
button to change the color
Click on the Conditional Fill
button
From the Component Parameters choose the right parameter
Set the condition of the parameter > 0
For building the red part, please follow the steps:
Click on the Add Fill
button from the Right Sidebar to add the second fill
Click on the Color
button to change the color
Click on the Conditional Fill
button
From the Component Parameters choose the right parameter
Set the condition of the parameter < 0
Component Property Visibility allows you to apply conditions to Fills, Borders, and Shadows based on conditions.
Component Conditional Visibility allows you to show/hide the element (text, shapes, images) on the Component Designer.