Hi there,
i am trying to create a bunch of randomized css-values for an app and so far in websites I created, i could only do faux-randomization, using nth-of-type.
Is there a “real” or better way to do things in Ionic?
Cheers!
Hi there,
i am trying to create a bunch of randomized css-values for an app and so far in websites I created, i could only do faux-randomization, using nth-of-type.
Is there a “real” or better way to do things in Ionic?
Cheers!
If you need to change a component’s styling programmatically (e.g. not fake it via plain css, but do it via javascript) then you should probably look into Angular’s NgStyle
directive.