Thank you so much for this article. I had no idea something like
ng-class="{true: 'active', false: 'inactive'}[isActive]"
was valid. And it was just the thing I was looking for! Curious how you figured that one out :)
Achievements
9
Karma
0
Total ProTip Views
Forked
Have a project valued enough to be forked by someone else
Thank you so much for this article. I had no idea something like
ng-class="{true: 'active', false: 'inactive'}[isActive]"
was valid. And it was just the thing I was looking for! Curious how you figured that one out :)