Answers for "ngclass ternary"

1

ngclass ternary

<div [ngClass]="varA === varB ? 'css-class-1' : 'css-class-2'">
Posted by: Guest on July-01-2020
1

ngclass ternary

<div [ngClass]="varA === varB ? 'css-class-1' : 'css-class-2'">
Posted by: Guest on July-01-2020

Browse Popular Code Answers by Language