Skip to content

Releases: hershmire/x-rating

Initial Polymer x-rating custom element

27 Aug 23:51
Compare
Choose a tag to compare

x-rating

x-rating is a 0 to "x" polymer rating UI element where "x" can be any (within reason) positive integer. By default, it's a five-star clickable rating element.

Declarative attributes:

  • value: Initial value of the rating (supports floating point numbers).
  • count: Number of items to display for a rating starting at 0. i.e. count="5" is a 0 - 5 rating, count="10" is a 0 - 10 rating.
  • readonly: User can not change the rating value.