I have a code snippet like this in app.component.html
[ngClass]="{odd:odd%2!==0}"
odd is defined in style like this
.odd
{
color:red;
}
can you give me what [ngClass]="{odd:odd%2!==0}" mean
I have a code snippet like this in app.component.html
[ngClass]="{odd:odd%2!==0}"
odd is defined in style like this
.odd
{
color:red;
}
can you give me what [ngClass]="{odd:odd%2!==0}" mean