You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be awesome if you could show a demo or document how to implement half stars. You package an image called half-star but I didn't see code support for half stars. Can you please clarify?
Additionally, how would I hook on to click events? Say, a user selected the 3rd stay, and I'd like to fire off a function when that happens. Can you please document how would one do that?
The text was updated successfully, but these errors were encountered:
I was looking for this as well, and it looks like half stars aren't supported - see #8.
My need for half stars was on the display side (i.e., displaying of averages of rating results, for 1-5 star ratings), and I was able to get it working like this (importing the library's SASS file into my own, and adding this):
Additionally, how would I hook on to click events? Say, a user selected the 3rd stay, and I'd like to fire off a function when that happens. Can you please document how would one do that?
Simply use the native change event on the SELECT element.
It would be awesome if you could show a demo or document how to implement half stars. You package an image called half-star but I didn't see code support for half stars. Can you please clarify?
Additionally, how would I hook on to click events? Say, a user selected the 3rd stay, and I'd like to fire off a function when that happens. Can you please document how would one do that?
The text was updated successfully, but these errors were encountered: