In the bottom navigation bar I want to change the button ActiveColor when I get true from service but the problem is I can't override button color with CSS it doesn't apply(nativescript angular)
<MDBottomNavigation....>
<MDTabStrip>
<MDTabStripItem>
....
<Image src="font..." [ngClass]="actionsActive?'first-color':'second-color'">
......
Have tried dynamically adding a new class with javascript. Something like this:
and
your css file you can add:
Also you can use a variable like this:
and than dynamically set value to myBgColor
check this