Font size:
When
Describes one of the alternatives to be chosen by the Choose component. The default alternative is described by the Otherwise component.
Must have Choose as an immediate parent and must appear before an Otherwise that has the same parent.
See also: Conditional, Choose, Otherwise
Parameters
Name | Type | Direction | Required | Default | Description |
---|---|---|---|---|---|
condition | boolean | in | no | false | The condition to test. If the expression evaluates to true, then its content is rendered. |
element | String | in | no | If specified, 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: allowed
Informal parameters: allowed
Reserved parameters: invert
Examples
Please see the documentation for the Choose component.