Can anyone assist me with an Angular issue? I am trying to dynamically add the abc
class when the show
class is present, and remove the abc
class when the show
class is hidden. I am working with Angular 6 and my current conditions are as follows. Any help would be greatly appreciated.
<ul
[ngClass]="['show' === 'show' ? 'abc' : 'none-hightlight']"
*ngIf="cities.subcat.length>0"
class="first-sub-cat dropdown-menu">