raty
raty copied to clipboard
Default state for stars (in addition to "score" option)
I would like to contribute a new "default" state. Currently you have the option to set the initial score, but there is no way to know whether the user has actually selected a value. As an example, the average score for a rated item might be 3 out of 5 stars, so you would want an option to indicate the default 3-star value with one icon state (i.e. starDefault), but if the user were to select 3-stars then you would want the icon state to be starOn. I would be happy to provide the implementation if you are interested.
We would like exactly this functionality as well. Did you ever complete your implementation?