Answers for "ng class ternary"

1

ng class ternary

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

ng class ternary

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

Browse Popular Code Answers by Language