Files
test-repo/tests/format/angular/control-flow/switch.html
T
2023-11-12 20:01:30 +08:00

22 lines
223 B
HTML

@switch (radioValue()) {
@case (1) {
<span>Case 1</span>
}
@case (2) {
<span>Case 2</span>
}
@default {
<span>Default case (Not 1 or 2)</span>
}
}
@switch(
should
.be.formatted
) {
@case(
should
.be.formatted) {}
}