Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49259

Change Alert Button color based on ts variable

$
0
0

@8tomo8 wrote:

I pull user settings including colors from the database and store the hex value in variables. I’ve been able to pretty easily manipulate most of the users content using Renderer and Element Ref, however I haven’t been able to figure out how to change the color of the ionic alert button a similar way. I understand you can apply dynamic classes to the alert box, however I guess I need to change the class property based on the users setting.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49259

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>