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
-
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 Color
I 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