Open thomaspessato opened 6 years ago
Hey, @thomaspessato. I am glad to hear that this component was helpful.
Unfortunately, there is no way to know exactly where the user clicked. The only event fired is related to the selected value. There is actually a way you can make the component select a half star, though.
Take a look at #36 and its comments. It is possible to listen to change events and when the user clicks on the same star, you can subtract 0.5 from the ngModel value.
Thanks for clarifying! I'll take a look at #36, thanks!
I will keep this issue open and see if it is possible to fire a more detailed event, including some information about click position, etc.
Maybe ionic gestures could be useful here
+1
First of all, let me say thank you for this very nice component!
Is there a way I can tap on a star and, according to the place, gives a half star rating?
In my case, I want to have a 1-10 range, but only 5 stars...
Thanks for your attention!