AngularJS: ng-switch-when with an OR

后端 未结 5 2062
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-15 15:34

Is it possible to have an OR in ng-switch-when?

5条回答
  •  感动是毒
    2020-12-15 16:13

    You could use ng-class so that you can use or operator in your expression. Also, angular-ui has if directive.

提交回复
热议问题