-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different star color if user already voted? #25
Comments
Hello @dmhendricks, |
Hello good day. |
I have same requirement . any solution? |
I can see why the color per level would be useful, I'll try to work on a solution for this tonight. |
Added functionality to define a color per rated level, check the example for "changing level colors" in the demo. |
ratedColors:['red', 'red', 'orange', 'green', 'green'] thanks its working |
Can you recommend the best way to make the stars a different color if the user has already voted?
For example, the stars are yellow and display the aggregate rating. However, if someone clicks to vote, the star colors change to red (to show that the user has voted and to distinguish from the aggregate color).
Thank you,
Daniel
The text was updated successfully, but these errors were encountered: