<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

Attributes for <case>
AttributeTypeValues
condition = "…""true" "false"
Props for <case name="c">
PropertyType
$c.conditionSatisfiedboolean
$c.disabledboolean
$c.fixedboolean
$c.fixLocationboolean
$c.hiddenboolean

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.