Hi,
I´m trying to change CSS properties after ionChange Event, but I can´t find the ID of that Element.
How is that done in Ionic and how do I change CSS properties ?
Regards
Hi,
I´m trying to change CSS properties after ionChange Event, but I can´t find the ID of that Element.
How is that done in Ionic and how do I change CSS properties ?
Regards
Angular doesn’t want you to think that way. Instead use ngClass
or just bind [style.whatever]
in the template, and then just change a property in the controller and let Angular’s change detection do the rest.