Common Properties
displayCondition
The displayCondition prop - if present - will control whether or not a component is displayed. Generally, a templating helper
will provide some variable to displayCondition, such as {{ some_variable }}
. If {{ some_variable }}
is falsy
, then the component is not rendered.
Example usage of displayCondition
{
"type": "title",
"text": "{{ some_variable }}",
"displayCondition": "{{ some_variable }}"
}