1

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

Midhun Raj
  • 925
  • 2
  • 7
  • 21

0 Answers0