|
|
|
Description
Describes one of the alternatives to be chosen by the contrib:Choose
component. The default alternative is described by the contrib:Otherwise
component.
Must have contrib:Choose as an immediate parent and must appear
before an contrib:Otherwise that has the same parent.
|
See Also
Conditional, contrib:Choose,
contrib:Otherwise |
Parameters
Name |
Type |
Direction |
Required |
Default |
Description |
condition |
String |
in |
no |
false |
The condition to test. If the expression evaluates to true,
then its content is rendered. |
element |
String |
in |
no |
|
If specified and condition is satisfied, then the component acts like
an Any, emitting an open and close tag.
Informal parameters are applied to the tag. If no element is
specified, informal parameters are ignored. |
Body: rendered
Informal parameters: allowed
Reserved parameters: invert
|
Examples
Please see the documentation for the contrib:Choose
component.
|