Single Conditions are either provided by the host application. See the complete documentation of Conditions for more information. To invert a condition, add the attribute invert="true" to the condition element. This is useful where you want to show the section if a certain condition is not satisfied. A flag indicating whether to invert the boolean result of the condition.
1 2{ "condition": "user_is_logged_in", "invert": false }
1 2{ "params": { "someOtherProperty": "someValue", "myCustomProperty": "myValue" } }
condition
Type | string |
---|---|
Max length | 100 |
Required | Yes |
Description | A string indicating the name of the condition |
invert
Type | boolean |
---|---|
Description | A flag indicating whether to invert the boolean result of the condition. |
params
Type | Object |
---|---|
Description | This object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.
Example:
|
Rate this page: