Answers for "apply 2 classes in a ngclass"

0

multiple ngclass

<section [ngClass]="{'class1':condition1, 'class2': condition2, 'class3':condition3}" >
Posted by: Guest on February-03-2021
2

ng class multiple class names

<!-- notice expression1 used twice -->
<div ng-class="{class1 : expression1, class2 : expression1}">
    Hello World!
</div>
Posted by: Guest on May-21-2020
0

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>
Posted by: Taylor Swift on April-19-2022

Code answers related to "apply 2 classes in a ngclass"

Browse Popular Code Answers by Language