multiple ngclass
<section [ngClass]="{'class1':condition1, 'class2': condition2, 'class3':condition3}" >
multiple ngclass
<section [ngClass]="{'class1':condition1, 'class2': condition2, 'class3':condition3}" >
ng class multiple class names
<!-- notice expression1 used twice -->
<div ng-class="{class1 : expression1, class2 : expression1}">
Hello World!
</div>
apply 2 classes in a ngclass
<section [ngClass]={'class1':condition1, 'class2': condition2, 'class3':condition3} >
Copy
Ng Class Multiple Class Names
OR
<!-- notice expression1 used twice -->
<div ng-class={class1 : expression1, class2 : expression1}>
Hello World!
</div>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us