case

Case view helper that is only usable within the SwitchViewHelper.

Arguments

value

DataType
mixed
Required
true
Description
The switch value. If it matches, the child will be rendered.

default

DataType
mixed
Required
true
Description
If this is set, this child will be rendered, if none else matches.