With AngularJS I’m using ng-class the following way: <div class="bigIcon" data-ng-click="PickUp()" ng-class="{first:'classA', second:'classB', third:'classC', fourth:'classC'}[call.State]"/> I’m wondering if I can use the if-else expression to do something similar to...
  • May 20, 2022
  • 0 Comments
Can we have multiple expression to add multiple ng-class ? for eg. <div ng-class="{class1: expressionData1, class2: expressionData2}"></div> If yes can anyone put up the example to do so. ....
  • April 30, 2022
  • 0 Comments