Is there a way to automatically increment a numeric value in a class using the ngClass
directive?
For example, can we achieve something like this:
<some-element [ngClass]="'class-*'">...</some-element>
, where the asterisk (*) will increment automatically until certain conditions are met.