Changing text color of a button while pressed


#1

Button Not pressed

39 AM

Button while pressed. I want the color to be white instead.

55 AM


#2

use ngClass Attribute of button to apply your desired css to button


#3

But how to specify the color of the text when the button is pressed.


#4

ngClass is used to apply the css class and in css class i think you can give any style right?
so just google for how to use ngclass in ionic and you can get your answer