Star Rating.js Versions Save

This zero-dependency ES6 module transforms a select with numerical-range values (i.e. 1-5) into a dynamic star rating element.

v4.3.0

1 year ago
  • Added module and exports fields to package.json
  • Fixed left/right keydown events
  • Optimised CSS

v4.2.5

1 year ago
  • Fixed active index when stars have gaps between them

v4.2.2

1 year ago
  • Fixed rebuild function

v4.2.0

1 year ago
  • Perform a complete teardown on destroy allowing a rebuild from the selector in a new DOM

v4.1.5

1 year ago
  • Added a data-rating attribute on the widget which holds the transient/selected rating

v4.1.4

1 year ago
  • Fixed selected index on reset

v4.1.3

1 year ago
  • Fixed focus state with pointer events

v4.2.3

1 year ago
  • Disabled pointer-events on tooltip

v4.1.2

3 years ago
  • Fixed error when initialising more than once

v4.1.1

3 years ago
  • Removed v3 compatibility mode when using the prebuilt option