I’m trying to use a dynamic class in ion-content to change the color of the screen when the user performs a certain action.
my basic code for this is
and in the .ts file, I change the class according to my requirement.
But a class called
hydrated gets replaced by this process and the view goes invisible. Now I can copy the css attributes of hydrated and have it in my class or also make the
myDynamicClass variable also have a
hydrated section appended to it. My question here is:
Is there any other class apart from hydrated that might appear in
ion-content when ionic does its stuff in the background?