Concepts
Conditional Templates
- Conditional Templates let you conditionally show or hide parts of the Velt Component Wireframes.
- You can add conditions based on the same data models available in Template Variables.
Usage
Syntax
The condition is specified as a string that will be evaluated as a JavaScript expression. You can use:
- Comparison operators:
===
,==
,!==
,>
,<
,>=
,<=
- Logical operators:
&&
,||
,!
- Template variables enclosed in curly braces:
{variable.property}
Example Usage
Was this page helpful?