This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
multiple-when ng-switch needed #13648
Closed
Description
currently ng-switch only support single value,
but in most case, we need to control more value for one piece of html.
so a mulitple or/and for an ng-switch-when if needed.
<ANY ng-switch="expression">
<ANY ng-switch-when="matchValue1 || matchValue2">...</ANY>
<ANY ng-switch-or="matchValue1 || matchValue2">...</ANY>
<ANY ng-switch-and="matchValue1 && matchValue2">...</ANY>
<ANY ng-switch-when="matchValue2">...</ANY>
<ANY ng-switch-default>...</ANY>
</ANY>
Metadata
Metadata
Assignees
Labels
No labels