-
-
Save 4gray/f5882f79198030cd063f104075bd4751 to your computer and use it in GitHub Desktop.
ngClass if else
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div ng-class="condition ? 'class-if-true' : 'class-if-false'"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment