Files
test-repo/tests/format/angular/control-flow/switch.html
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
223 B
HTML
Raw Normal View History

2023-11-12 06:01:30 -06:00
@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) {}
}