Defines a case in a <switch> tag.
If a value
attribute is given, it will be used as the comparison values, otherwise the tag text will be used.
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
value |
Value to compare in a switch | expression | No | None |
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
if |
Conditional expression | expression | No | yes |