<case>
<case>
is a Logic
component that defines an individual block of content triggered when
the its condition is met within a <conditionalContent>
.
Attributes and Properties
Attribute | Type | Values |
---|---|---|
condition = "…" | "true" "false" |
Property | Type |
---|---|
$c.conditionSatisfied | boolean |
$c.disabled | boolean |
$c.fixed | boolean |
$c.fixLocation | boolean |
$c.hidden | boolean |
Example: <case>
inside of <conditionalContent>
Each <case>
component defines content that is only rendered
when the specified condition
attribute is true
.
Attribute Example: condition
Each <case>
component defines content that is
only rendered when the specified condition
attribute is true
.
Property Example: conditionSatisfied
The conditionSatisfied
property returns true
if the specified <case>
evaluates to true
, and false
otherwise.