-
Notifications
You must be signed in to change notification settings - Fork 62
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
How a user give half star rating #38
Comments
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!
The text was updated successfully, but these errors were encountered: