Color for OuterStroke #201
Unanswered
AndriiSiuta
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, how can I predefine color depending on the percent?
For example:
i have @Input Percent -> percent 0 < 35 - 1 Color 35 > 75 - other color, 75 -> Another ColorI want to use 3 different color per different number, and i don't want to hardcore
[outerStrokeColor]="getColor()" in each component.
Any ideas how i can encapsulate logic with percent and colors inside the component
Beta Was this translation helpful? Give feedback.
All reactions